ALTER TABLE ACADEMIC_CALENDAR_ENTRY modify KEY_ROOT_DOMAIN_OBJECT int(11) DEFAULT NULL;
ALTER TABLE ACADEMIC_SERVICE_REQUEST modify KEY_REGISTRATION int(11) DEFAULT NULL;
ALTER TABLE ACCOUNTING_TRANSACTION_DETAIL modify KEY_ROOT_DOMAIN_OBJECT int(11) DEFAULT NULL;
ALTER TABLE ACCOUNT_ACTIVATION modify KEY_USER int(11) DEFAULT NULL;
ALTER TABLE ACTIVE_DIRECTORY_GROUP modify KEY_ROOT_DOMAIN_OBJECT int(11) DEFAULT NULL;
ALTER TABLE ADVISOR modify KEY_ROOT_DOMAIN_OBJECT int(11) DEFAULT NULL, modify KEY_PERSON int(11) DEFAULT NULL;
ALTER TABLE AFFINITY_CYCLE_COURSE_GROUP modify KEY_CYCLE_COURSE_GROUP_DESTINATION_AFFINITIES int(11) DEFAULT NULL, modify KEY_CYCLE_COURSE_GROUP_SOURCE_AFFINITIES int(11) DEFAULT NULL;
alter table AFFINITY_CYCLE_COURSE_GROUP drop PRIMARY KEY, add PRIMARY KEY (`OID_CYCLE_COURSE_GROUP_DESTINATION_AFFINITIES`,`OID_CYCLE_COURSE_GROUP_SOURCE_AFFINITIES`);
ALTER TABLE ALLOWED_TO_UPLOAD_IN_UNIT modify KEY_UNIT int(11) DEFAULT NULL, modify KEY_PERSON int(11) DEFAULT NULL;
alter table ALLOWED_TO_UPLOAD_IN_UNIT drop PRIMARY KEY, add PRIMARY KEY (`OID_UNIT`,`OID_PERSON`);
ALTER TABLE ANNOUNCEMENT modify KEY_ROOT_DOMAIN_OBJECT int(11) DEFAULT NULL;
ALTER TABLE ANNOUNCEMENT_BOARD modify KEY_ROOT_DOMAIN_OBJECT int(11) DEFAULT NULL;
ALTER TABLE ANNOUNCEMENT_BOARD_BOOKMARK modify KEY_PERSON int(11) DEFAULT NULL, modify KEY_ANNOUNCEMENT_BOARD int(11) DEFAULT NULL;
alter table ANNOUNCEMENT_BOARD_BOOKMARK drop PRIMARY KEY, add PRIMARY KEY (`OID_PERSON`,`OID_ANNOUNCEMENT_BOARD`);
ALTER TABLE ANNULLED_GRADE_BOOK_LINE modify KEY_ANNULLED_GRADE_BOOK_SHEET int(11) DEFAULT NULL, modify KEY_ROOT_DOMAIN_OBJECT int(11) DEFAULT NULL, modify KEY_PERSON int(11) DEFAULT NULL;
ALTER TABLE ANNULLED_GRADE_BOOK_SHEET modify KEY_GRADE_BOOK_VOLUME int(11) DEFAULT NULL, modify KEY_ROOT_DOMAIN_OBJECT int(11) DEFAULT NULL, modify KEY_ANNULLED_BY_EMPLOYEE int(11) DEFAULT NULL, modify KEY_CURRICULAR_COURSE int(11) DEFAULT NULL, modify KEY_EXECUTION_PERIOD int(11) DEFAULT NULL, modify KEY_RESPONSIBLE_TEACHER int(11) DEFAULT NULL;
ALTER TABLE ANUAL_BONUS_INSTALLMENT modify KEY_ROOT_DOMAIN_OBJECT int(11) DEFAULT NULL;
ALTER TABLE ANY_CURRICULAR_COURSE_COMPETENCE_COURSE modify KEY_COMPETENCE_COURSE int(11) DEFAULT NULL, modify KEY_ANY_CURRICULAR_COURSE int(11) DEFAULT NULL;
alter table ANY_CURRICULAR_COURSE_COMPETENCE_COURSE drop PRIMARY KEY, add PRIMARY KEY (`OID_COMPETENCE_COURSE`,`OID_ANY_CURRICULAR_COURSE`);
ALTER TABLE AREA_CODE modify KEY_PARISH int(11) DEFAULT NULL, modify KEY_ROOT_DOMAIN_OBJECT int(11) DEFAULT NULL;
ALTER TABLE ARTICLE_ASSOCIATION modify KEY_ROOT_DOMAIN_OBJECT int(11) DEFAULT NULL, modify KEY_JOURNAL_ISSUE int(11) DEFAULT NULL, modify KEY_ARTICLE int(11) DEFAULT NULL, modify KEY_CREATOR int(11) DEFAULT NULL;
ALTER TABLE ASSIDUOUSNESS_VACATIONS modify KEY_ROOT_DOMAIN_OBJECT int(11) DEFAULT NULL, modify KEY_ASSIDUOUSNESS int(11) DEFAULT NULL;
ALTER TABLE CANDIDACY_DOCUMENT modify KEY_CANDIDACY int(11) DEFAULT NULL;
ALTER TABLE CANDIDACY_SITUATION modify KEY_PERSON int(11) DEFAULT NULL;
ALTER TABLE CERTIFICATION modify KEY_STUDENT_CURRICULAR_PLAN int(11) DEFAULT NULL, modify KEY_ROOT_DOMAIN_OBJECT int(11) DEFAULT NULL;
ALTER TABLE CLOSED_MONTH modify KEY_ROOT_DOMAIN_OBJECT int(11) DEFAULT NULL;
ALTER TABLE COLLABORATOR modify KEY_ROOT_DOMAIN_OBJECT int(11) DEFAULT NULL, modify KEY_PERSON int(11) DEFAULT NULL;
ALTER TABLE COMPETENCE_COURSE_DEPARTMENT modify KEY_COMPETENCE_COURSE int(11) DEFAULT NULL, modify KEY_DEPARTMENT int(11) DEFAULT NULL;
alter table COMPETENCE_COURSE_DEPARTMENT drop PRIMARY KEY, add PRIMARY KEY (`OID_COMPETENCE_COURSE`,`OID_DEPARTMENT`);
ALTER TABLE COMPETENCE_COURSE_INFORMATION_CHANGE_REQUEST modify KEY_ROOT_DOMAIN_OBJECT int(11) DEFAULT NULL, modify KEY_COMPETENCE_COURSE int(11) DEFAULT NULL, modify KEY_REQUESTER int(11) DEFAULT NULL, modify KEY_EXECUTION_PERIOD int(11) DEFAULT NULL;
ALTER TABLE COORDINATOR modify KEY_PERSON int(11) DEFAULT NULL;
ALTER TABLE COUNTY modify KEY_DISTRICT int(11) DEFAULT NULL, modify KEY_ROOT_DOMAIN_OBJECT int(11) DEFAULT NULL;
ALTER TABLE COURSE_EQUIVALENCY_THEME modify KEY_THEME int(11) DEFAULT NULL, modify KEY_COURSE_EQUIVALENCY int(11) DEFAULT NULL;
alter table COURSE_EQUIVALENCY_THEME drop PRIMARY KEY, add PRIMARY KEY (`OID_THEME`,`OID_COURSE_EQUIVALENCY`);
ALTER TABLE COURSE_LOAD modify KEY_ROOT_DOMAIN_OBJECT int(11) DEFAULT NULL;
ALTER TABLE COURSE_LOAD_REQUEST_ENROLMENT modify KEY_COURSE_LOAD_REQUEST int(11) DEFAULT NULL, modify KEY_ENROLMENT int(11) DEFAULT NULL;
alter table COURSE_LOAD_REQUEST_ENROLMENT drop PRIMARY KEY, add PRIMARY KEY (`OID_COURSE_LOAD_REQUEST`,`OID_ENROLMENT`);
ALTER TABLE COURSE_LOAD_SHIFT modify KEY_SHIFT int(11) DEFAULT NULL, modify KEY_COURSE_LOAD int(11) DEFAULT NULL;
alter table COURSE_LOAD_SHIFT drop PRIMARY KEY, add PRIMARY KEY (`OID_SHIFT`,`OID_COURSE_LOAD`);
ALTER TABLE CREDITS modify KEY_ROOT_DOMAIN_OBJECT int(11) DEFAULT NULL, modify KEY_STUDENT_CURRICULAR_PLAN int(11) DEFAULT NULL;
ALTER TABLE CREDITS_DISMISSAL_NO_ENROL_CURRICULAR_COURSES modify KEY_CREDITS_DISMISSAL int(11) DEFAULT NULL, modify KEY_CURRICULAR_COURSE int(11) DEFAULT NULL;
alter table CREDITS_DISMISSAL_NO_ENROL_CURRICULAR_COURSES drop PRIMARY KEY, add PRIMARY KEY (`OID_CREDITS_DISMISSAL`,`OID_CURRICULAR_COURSE`);
ALTER TABLE CREDIT_NOTE modify KEY_ROOT_DOMAIN_OBJECT int(11) DEFAULT NULL, modify KEY_RECEIPT int(11) DEFAULT NULL, modify KEY_EMPLOYEE int(11) DEFAULT NULL;
ALTER TABLE CREDIT_NOTE_ENTRY modify KEY_ROOT_DOMAIN_OBJECT int(11) DEFAULT NULL, modify KEY_CREDIT_NOTE int(11) DEFAULT NULL, modify KEY_ACCOUNTING_ENTRY int(11) DEFAULT NULL;
ALTER TABLE CURRICULAR_COURSE_CURRICULAR_COURSE_GROUP modify KEY_CURRICULAR_COURSE_GROUP int(11) DEFAULT NULL, modify KEY_CURRICULAR_COURSE int(11) DEFAULT NULL;
alter table CURRICULAR_COURSE_CURRICULAR_COURSE_GROUP drop PRIMARY KEY, add PRIMARY KEY (`OID_CURRICULAR_COURSE_GROUP`,`OID_CURRICULAR_COURSE`);
ALTER TABLE CURRICULAR_COURSE_EQUIVALENCE_PLAN_ENTRY_NEW_DEGREE_MODULE modify KEY_DEGREE_MODULE int(11) DEFAULT NULL, modify KEY_CURRICULAR_COURSE_EQUIVALENCE_PLAN_ENTRY int(11) DEFAULT NULL;
alter table CURRICULAR_COURSE_EQUIVALENCE_PLAN_ENTRY_NEW_DEGREE_MODULE drop PRIMARY KEY, add PRIMARY KEY (`OID_DEGREE_MODULE`,`OID_CURRICULAR_COURSE_EQUIVALENCE_PLAN_ENTRY`);
ALTER TABLE CURRICULAR_COURSE_EQUIVALENCE_PLAN_ENTRY_OLD_CURRICULAR_COURSE modify KEY_CURRICULAR_COURSE_EQUIVALENCE_PLAN_ENTRY int(11) DEFAULT NULL, modify KEY_CURRICULAR_COURSE int(11) DEFAULT NULL;
ALTER TABLE CURRICULAR_COURSE_EXECUTION_COURSE modify KEY_CURRICULAR_COURSE int(11) DEFAULT NULL, modify KEY_EXECUTION_COURSE int(11) DEFAULT NULL;
alter table CURRICULAR_COURSE_EXECUTION_COURSE drop PRIMARY KEY, add PRIMARY KEY (`OID_CURRICULAR_COURSE`,`OID_EXECUTION_COURSE`);
ALTER TABLE CYCLE_COURSE_GROUP_INFO modify KEY_CYCLE_COURSE_GROUP int(11) DEFAULT NULL, modify KEY_ROOT_DOMAIN_OBJECT int(11) DEFAULT NULL;
ALTER TABLE C_C_G_U_CONTEXT modify KEY_COMPETENCE_COURSE_GROUP_UNIT int(11) DEFAULT NULL, modify KEY_COMPETENCE_COURSE int(11) DEFAULT NULL, modify KEY_ROOT_DOMAIN_OBJECT int(11) DEFAULT NULL;
ALTER TABLE DATA_ROW_TEST modify KEY_ROOT_DOMAIN_OBJECT int(11) DEFAULT NULL;
ALTER TABLE DEGREE_DATA_BY_EXECUTION_YEAR modify KEY_ROOT_DOMAIN_OBJECT int(11) DEFAULT NULL;
ALTER TABLE DEGREE_INFO modify KEY_DEGREE_INFO_CANDIDACY int(11) DEFAULT NULL, modify KEY_DEGREE_INFO_FUTURE int(11) DEFAULT NULL;
ALTER TABLE DEGREE_INFO_CANDIDACY modify KEY_DEGREE_INFO int(11) DEFAULT NULL;
ALTER TABLE DEGREE_INFO_FUTURE modify KEY_DEGREE_INFO int(11) DEFAULT NULL;
ALTER TABLE DELEGATE_ELECTION modify KEY_DEGREE int(11) DEFAULT NULL, modify KEY_EXECUTION_YEAR int(11) DEFAULT NULL, modify KEY_CURRICULAR_YEAR int(11) DEFAULT NULL, modify KEY_ROOT_DOMAIN_OBJECT int(11) DEFAULT NULL;
ALTER TABLE DELEGATE_ELECTION_CANDIDATES_STUDENT modify KEY_DELEGATE_ELECTION int(11) DEFAULT NULL, modify KEY_STUDENT int(11) DEFAULT NULL;
alter table DELEGATE_ELECTION_CANDIDATES_STUDENT drop PRIMARY KEY, add PRIMARY KEY (`OID_DELEGATE_ELECTION`,`OID_STUDENT`);
ALTER TABLE DELEGATE_ELECTION_PERIOD modify KEY_ROOT_DOMAIN_OBJECT int(11) DEFAULT NULL;
ALTER TABLE DELEGATE_ELECTION_STUDENT modify KEY_DELEGATE_ELECTION int(11) DEFAULT NULL, modify KEY_STUDENT int(11) DEFAULT NULL;
alter table DELEGATE_ELECTION_STUDENT drop PRIMARY KEY, add PRIMARY KEY (`OID_DELEGATE_ELECTION`,`OID_STUDENT`);
ALTER TABLE DELEGATE_ELECTION_VOTE modify KEY_DELEGATE_ELECTION int(11) DEFAULT NULL, modify KEY_STUDENT int(11) DEFAULT NULL, modify KEY_ROOT_DOMAIN_OBJECT int(11) DEFAULT NULL;
ALTER TABLE DELEGATE_ELECTION_VOTING_STUDENT modify KEY_DELEGATE_ELECTION int(11) DEFAULT NULL, modify KEY_STUDENT int(11) DEFAULT NULL;
alter table DELEGATE_ELECTION_VOTING_STUDENT drop PRIMARY KEY, add PRIMARY KEY (`OID_DELEGATE_ELECTION`,`OID_STUDENT`);
ALTER TABLE DELETED_OBJECT modify KEY_ROOT_DOMAIN_OBJECT int(11) DEFAULT NULL;
ALTER TABLE DELETE_FILE_LOG modify KEY_ROOT_DOMAIN_OBJECT int(11) DEFAULT NULL;
ALTER TABLE DELETE_FILE_REQUEST modify KEY_ROOT_DOMAIN_OBJECT int(11) DEFAULT NULL;
ALTER TABLE DEPARTMENT_DEGREE modify KEY_DEGREE int(11) DEFAULT NULL, modify KEY_DEPARTMENT int(11) DEFAULT NULL;
alter table DEPARTMENT_DEGREE drop PRIMARY KEY, add PRIMARY KEY (`OID_DEGREE`,`OID_DEPARTMENT`);
ALTER TABLE DISTRICT_AREA_CODE modify KEY_ROOT_DOMAIN_OBJECT int(11) DEFAULT NULL;
ALTER TABLE DISTRICT_SUBDIVISION_AREA_CODE modify KEY_DISTRICT int(11) DEFAULT NULL, modify KEY_ROOT_DOMAIN_OBJECT int(11) DEFAULT NULL;
ALTER TABLE DOMAIN_OBJECT_ACTION_LOG modify KEY_PERSON int(11) DEFAULT NULL, modify KEY_DOMAIN_OBJECT int(11) DEFAULT NULL, modify KEY_ROOT_DOMAIN_OBJECT int(11) DEFAULT NULL;
ALTER TABLE DOMAIN_OBJECT_ACTION_LOG_ENTRY modify KEY_DOMAIN_OBJECT_ACTION_LOG int(11) DEFAULT NULL, modify KEY_ROOT_DOMAIN_OBJECT int(11) DEFAULT NULL;
ALTER TABLE D_C_P_TRANSITION_PLAN modify KEY_ORIGIN_DCP int(11) DEFAULT NULL, modify KEY_DESTINY_DCP int(11) DEFAULT NULL, modify KEY_ROOT_DOMAIN_OBJECT int(11) DEFAULT NULL;
ALTER TABLE D_C_P_TRANSITION_PLAN_RULE modify KEY_DCP_TRANSITION_PLAN int(11) DEFAULT NULL, modify KEY_ROOT_DOMAIN_OBJECT int(11) DEFAULT NULL;
ALTER TABLE D_C_P_TRANSITION_PLAN_RULE_WRAPPER modify KEY_DCP_TRANSITION_PLAN_RULE int(11) DEFAULT NULL, modify KEY_CONTEXT int(11) DEFAULT NULL, modify KEY_ROOT_DOMAIN_OBJECT int(11) DEFAULT NULL;
ALTER TABLE EMAIL modify KEY_ROOT_DOMAIN_OBJECT int(11) DEFAULT NULL;
ALTER TABLE EMAIL_ADDRESS modify KEY_ROOT_DOMAIN_OBJECT int(11) DEFAULT NULL, modify KEY_PERSON int(11) DEFAULT NULL;
ALTER TABLE EMPLOYEE_BONUS_INSTALLMENT modify KEY_ROOT_DOMAIN_OBJECT int(11) DEFAULT NULL, modify KEY_EMPLOYEE int(11) DEFAULT NULL, modify KEY_ANUAL_BONUS_INSTALLMENT int(11) DEFAULT NULL;
ALTER TABLE EMPLOYEE_EXTRA_WORK_AUTHORIZATION modify KEY_EXTRA_WORK_AUTHORIZATION int(11) DEFAULT NULL, modify KEY_ASSIDUOUSNESS int(11) DEFAULT NULL, modify KEY_ROOT_DOMAIN_OBJECT int(11) DEFAULT NULL;
ALTER TABLE EMPLOYEE_MONTHLY_BONUS_INSTALLMENT modify KEY_ROOT_DOMAIN_OBJECT int(11) DEFAULT NULL, modify KEY_EMPLOYEE_BONUS_INSTALLMENT int(11) DEFAULT NULL;
ALTER TABLE ENROLMENT_NOT_NEED_TO_ENROLL_IN_CURRICULAR_COURSE modify KEY_ENROLMENT int(11) DEFAULT NULL, modify KEY_NOT_NEED_TO_ENROLL_IN_CURRICULAR_COURSE int(11) DEFAULT NULL;
alter table ENROLMENT_NOT_NEED_TO_ENROLL_IN_CURRICULAR_COURSE drop PRIMARY KEY, add PRIMARY KEY (`OID_ENROLMENT`,`OID_NOT_NEED_TO_ENROLL_IN_CURRICULAR_COURSE`);
ALTER TABLE ENROLMENT_WRAPPER modify KEY_ROOT_DOMAIN_OBJECT int(11) DEFAULT NULL;
ALTER TABLE EQUIVALENCE_PLAN modify KEY_ROOT_DOMAIN_OBJECT int(11) DEFAULT NULL;
ALTER TABLE EQUIVALENCE_PLAN_ENTRY modify KEY_ROOT_DOMAIN_OBJECT int(11) DEFAULT NULL, modify KEY_EQUIVALENCE_PLAN int(11) DEFAULT NULL;
ALTER TABLE EQUIVALENCE_PLAN_ENTRY_NEW_DEGREE_MODULE modify KEY_DEGREE_MODULE int(11) DEFAULT NULL, modify KEY_EQUIVALENCE_PLAN_ENTRY int(11) DEFAULT NULL;
alter table EQUIVALENCE_PLAN_ENTRY_NEW_DEGREE_MODULE drop PRIMARY KEY, add PRIMARY KEY (`OID_DEGREE_MODULE`,`OID_EQUIVALENCE_PLAN_ENTRY`);
ALTER TABLE EQUIVALENCE_PLAN_ENTRY_OLD_DEGREE_MODULE modify KEY_DEGREE_MODULE int(11) DEFAULT NULL, modify KEY_EQUIVALENCE_PLAN_ENTRY int(11) DEFAULT NULL;
alter table EQUIVALENCE_PLAN_ENTRY_OLD_DEGREE_MODULE drop PRIMARY KEY, add PRIMARY KEY (`OID_DEGREE_MODULE`,`OID_EQUIVALENCE_PLAN_ENTRY`);
ALTER TABLE EVALUATION_EXECUTION_COURSE modify KEY_EVALUATION int(11) DEFAULT NULL, modify KEY_EXECUTION_COURSE int(11) DEFAULT NULL;
alter table EVALUATION_EXECUTION_COURSE drop PRIMARY KEY, add PRIMARY KEY (`OID_EVALUATION`,`OID_EXECUTION_COURSE`);
ALTER TABLE EVENT_CONFERENCE_ARTICLES_ASSOCIATION modify KEY_ROOT_DOMAIN_OBJECT int(11) DEFAULT NULL, modify KEY_EVENT_EDITION int(11) DEFAULT NULL, modify KEY_PERSON int(11) DEFAULT NULL, modify KEY_CONFERENCE_ARTICLE int(11) DEFAULT NULL;
ALTER TABLE EVENT_EDITION modify KEY_EVENT int(11) DEFAULT NULL, modify KEY_ROOT_DOMAIN_OBJECT int(11) DEFAULT NULL;
ALTER TABLE EXAM_COORDINATOR modify KEY_ROOT_DOMAIN_OBJECT int(11) DEFAULT NULL, modify KEY_UNIT int(11) DEFAULT NULL, modify KEY_PERSON int(11) DEFAULT NULL, modify KEY_EXECUTION_YEAR int(11) DEFAULT NULL;
ALTER TABLE EXAM_COORDINATOR_MANAGES_VIGILANT_GROUP modify KEY_EXAM_COORDINATOR int(11) DEFAULT NULL, modify KEY_VIGILANT_GROUP int(11) DEFAULT NULL;
alter table EXAM_COORDINATOR_MANAGES_VIGILANT_GROUP drop PRIMARY KEY, add PRIMARY KEY (`OID_EXAM_COORDINATOR`,`OID_VIGILANT_GROUP`);
ALTER TABLE EXAM_DATE_CERTIFICATE_REQUEST_ENROLMENT modify KEY_ENROLMENT int(11) DEFAULT NULL, modify KEY_EXAM_DATE_CERTIFICATE_REQUEST int(11) DEFAULT NULL;
alter table EXAM_DATE_CERTIFICATE_REQUEST_ENROLMENT drop PRIMARY KEY, add PRIMARY KEY (`OID_ENROLMENT`,`OID_EXAM_DATE_CERTIFICATE_REQUEST`);
ALTER TABLE EXECUTION_DEGREE_EXTERNAL_INFORMATION modify KEY_EXECUTION_DEGREE int(11) DEFAULT NULL;
ALTER TABLE EXECUTION_PATH modify KEY_ROOT_DOMAIN_OBJECT int(11) DEFAULT NULL;
ALTER TABLE EXEMPTION modify KEY_EXEMPTION_JUSTIFICATION int(11) DEFAULT NULL;
ALTER TABLE EXEMPTION_JUSTIFICATION modify KEY_EXEMPTION int(11) DEFAULT NULL, modify KEY_ROOT_DOMAIN_OBJECT int(11) DEFAULT NULL;
ALTER TABLE EXPECTATION_EVALUATION_GROUP modify KEY_APPRAISER int(11) DEFAULT NULL, modify KEY_EVALUATED int(11) DEFAULT NULL, modify KEY_EXECUTION_YEAR int(11) DEFAULT NULL, modify KEY_ROOT_DOMAIN_OBJECT int(11) DEFAULT NULL;
ALTER TABLE EXTERNAL_CURRICULAR_COURSE modify KEY_ROOT_DOMAIN_OBJECT int(11) DEFAULT NULL, modify KEY_UNIT int(11) DEFAULT NULL;
ALTER TABLE EXTERNAL_EDITOR modify KEY_ROOT_DOMAIN_OBJECT int(11) DEFAULT NULL, modify KEY_PERSON int(11) DEFAULT NULL;
ALTER TABLE EXTERNAL_ENROLMENT modify KEY_ROOT_DOMAIN_OBJECT int(11) DEFAULT NULL, modify KEY_EXTERNAL_CURRICULAR_COURSE int(11) DEFAULT NULL;
ALTER TABLE EXTERNAL_ENROLMENT_NOT_NEED_TO_ENROLL_IN_CURRICULAR_COURSE modify KEY_EXTERNAL_ENROLMENT int(11) DEFAULT NULL, modify KEY_NOT_NEED_TO_ENROLL_IN_CURRICULAR_COURSE int(11) DEFAULT NULL;
alter table EXTERNAL_ENROLMENT_NOT_NEED_TO_ENROLL_IN_CURRICULAR_COURSE drop PRIMARY KEY, add PRIMARY KEY (`OID_EXTERNAL_ENROLMENT`,`OID_NOT_NEED_TO_ENROLL_IN_CURRICULAR_COURSE`);
ALTER TABLE EXTERNAL_REGISTRATION_DATA modify KEY_REGISTRATION int(11) DEFAULT NULL, modify KEY_ROOT_DOMAIN_OBJECT int(11) DEFAULT NULL;
ALTER TABLE EXTRA_WORK_AUTHORIZATION modify KEY_WORKING_UNIT int(11) DEFAULT NULL, modify KEY_PAYING_UNIT int(11) DEFAULT NULL, modify KEY_ROOT_DOMAIN_OBJECT int(11) DEFAULT NULL;
ALTER TABLE EXTRA_WORK_REQUEST modify KEY_ASSIDUOUSNESS int(11) DEFAULT NULL, modify KEY_UNIT int(11) DEFAULT NULL, modify KEY_ROOT_DOMAIN_OBJECT int(11) DEFAULT NULL;
ALTER TABLE FILE_TAGGING modify KEY_UNIT_FILE int(11) DEFAULT NULL, modify KEY_UNIT_FILE_TAG int(11) DEFAULT NULL;
alter table FILE_TAGGING drop PRIMARY KEY, add PRIMARY KEY (`OID_UNIT_FILE`,`OID_UNIT_FILE_TAG`);
ALTER TABLE FUNCTIONALITY_PARAMETER modify KEY_FUNCTIONALITY int(11) DEFAULT NULL, modify KEY_TYPE int(11) DEFAULT NULL, modify KEY_ROOT_DOMAIN_OBJECT int(11) DEFAULT NULL;
ALTER TABLE FUNCTIONALITY_PRINTERS modify KEY_ROOT_DOMAIN_OBJECT int(11) DEFAULT NULL, modify KEY_PRINTERS int(11) DEFAULT NULL;
ALTER TABLE FUTURE_TEACHER modify KEY_ROOT_DOMAIN_OBJECT int(11) DEFAULT NULL;
ALTER TABLE GENERIC_EVENT modify KEY_ROOT_DOMAIN_OBJECT int(11) DEFAULT NULL;
ALTER TABLE GROUPING_ATTENDS modify KEY_ATTENDS int(11) DEFAULT NULL, modify KEY_GROUPING int(11) DEFAULT NULL;
alter table GROUPING_ATTENDS drop PRIMARY KEY, add PRIMARY KEY (`OID_ATTENDS`,`OID_GROUPING`);
ALTER TABLE GUEST modify KEY_ROOT_DOMAIN_OBJECT int(11) DEFAULT NULL, modify KEY_PERSON int(11) DEFAULT NULL;
ALTER TABLE ID_DOCUMENT modify KEY_ROOT_DOMAIN_OBJECT int(11) DEFAULT NULL, modify KEY_ID_DOCUMENT_TYPE int(11) DEFAULT NULL, modify KEY_PERSON int(11) DEFAULT NULL;
ALTER TABLE ID_DOCUMENT_TYPE_OBJECT modify KEY_ROOT_DOMAIN_OBJECT int(11) DEFAULT NULL;
ALTER TABLE INQUIRIES_PREVIOUS_GRADE3 modify KEY_ROOT_DOMAIN_OBJECT int(11) DEFAULT NULL, modify KEY_EXECUTION_COURSE int(11) DEFAULT NULL;
ALTER TABLE INQUIRIES_STUDENT_EXECUTION_PERIOD modify KEY_ROOT_DOMAIN_OBJECT int(11) DEFAULT NULL, modify KEY_EXECUTION_PERIOD int(11) DEFAULT NULL, modify KEY_STUDENT int(11) DEFAULT NULL;
ALTER TABLE INQUIRY_RESPONSE_PERIOD modify KEY_ROOT_DOMAIN_OBJECT int(11) DEFAULT NULL, modify KEY_EXECUTION_PERIOD int(11) DEFAULT NULL;
ALTER TABLE INSPECTOR modify KEY_ROOT_DOMAIN_OBJECT int(11) DEFAULT NULL, modify KEY_PERSON int(11) DEFAULT NULL;
ALTER TABLE INSTALLMENT modify KEY_PAYMENT_PLAN int(11) DEFAULT NULL, modify KEY_ROOT_DOMAIN_OBJECT int(11) DEFAULT NULL;
ALTER TABLE JOURNAL_ISSUE modify KEY_ROOT_DOMAIN_OBJECT int(11) DEFAULT NULL, modify KEY_SCIENTIFIC_JOURNAL int(11) DEFAULT NULL;
ALTER TABLE LESSON_INSTANCE modify KEY_LESSON int(11) DEFAULT NULL, modify KEY_ROOT_DOMAIN_OBJECT int(11) DEFAULT NULL;
ALTER TABLE LESSON_SPACE_FEATURE modify KEY_ROOT_DOMAIN_OBJECT int(11) DEFAULT NULL;
ALTER TABLE LIBRARY_CARD modify KEY_PERSON int(11) DEFAULT NULL, modify KEY_ROOT_DOMAIN_OBJECT int(11) DEFAULT NULL;
ALTER TABLE LOGIN_ALIAS modify KEY_LOGIN int(11) DEFAULT NULL, modify KEY_ROOT_DOMAIN_OBJECT int(11) DEFAULT NULL;
ALTER TABLE LOGIN_ALIAS_BACKUP modify KEY_LOGIN int(11) DEFAULT NULL, modify KEY_ROOT_DOMAIN_OBJECT int(11) DEFAULT NULL;
ALTER TABLE LOGIN_PERIOD modify KEY_LOGIN int(11) DEFAULT NULL;
ALTER TABLE LOGIN_REQUEST modify KEY_USER int(11) DEFAULT NULL, modify KEY_ROOT_DOMAIN_OBJECT int(11) DEFAULT NULL;
ALTER TABLE MAC_ADDRESS modify KEY_PERSON int(11) DEFAULT NULL, modify KEY_ROOT_DOMAIN_OBJECT int(11) DEFAULT NULL;
ALTER TABLE MARK_REVISION_REQUEST modify KEY_TEACHER int(11) DEFAULT NULL, modify KEY_ENROLLMENT_EVALUATION int(11) DEFAULT NULL, modify KEY_ROOT_DOMAIN_OBJECT int(11) DEFAULT NULL;
ALTER TABLE MASTER_DEGREE_PROOF_VERSION_EXTERNAL_JURY modify KEY_EXTERNAL_CONTRACT int(11) DEFAULT NULL, modify KEY_MASTER_DEGREE_PROOF_VERSION int(11) DEFAULT NULL;
alter table MASTER_DEGREE_PROOF_VERSION_EXTERNAL_JURY drop PRIMARY KEY, add PRIMARY KEY (`OID_EXTERNAL_CONTRACT`,`OID_MASTER_DEGREE_PROOF_VERSION`);
ALTER TABLE MASTER_DEGREE_PROOF_VERSION_JURY modify KEY_MASTER_DEGREE_PROOF_VERSION int(11) DEFAULT NULL, modify KEY_TEACHER int(11) DEFAULT NULL;
alter table MASTER_DEGREE_PROOF_VERSION_JURY drop PRIMARY KEY, add PRIMARY KEY (`OID_MASTER_DEGREE_PROOF_VERSION`,`OID_TEACHER`);
ALTER TABLE MASTER_DEGREE_THESIS_DATA_VERSION_ASSISTENT_GUIDER modify KEY_MASTER_DEGREE_THESIS_DATA_VERSION int(11) DEFAULT NULL, modify KEY_TEACHER int(11) DEFAULT NULL;
alter table MASTER_DEGREE_THESIS_DATA_VERSION_ASSISTENT_GUIDER drop PRIMARY KEY, add PRIMARY KEY (`OID_MASTER_DEGREE_THESIS_DATA_VERSION`,`OID_TEACHER`);
ALTER TABLE MASTER_DEGREE_THESIS_DATA_VERSION_EXTERNAL_ASSISTENT_GUIDER modify KEY_EXTERNAL_CONTRACT int(11) DEFAULT NULL, modify KEY_MASTER_DEGREE_THESIS_DATA_VERSION int(11) DEFAULT NULL;
alter table MASTER_DEGREE_THESIS_DATA_VERSION_EXTERNAL_ASSISTENT_GUIDER drop PRIMARY KEY, add PRIMARY KEY (`OID_EXTERNAL_CONTRACT`,`OID_MASTER_DEGREE_THESIS_DATA_VERSION`);
ALTER TABLE MASTER_DEGREE_THESIS_DATA_VERSION_EXTERNAL_GUIDER modify KEY_EXTERNAL_CONTRACT int(11) DEFAULT NULL, modify KEY_MASTER_DEGREE_THESIS_DATA_VERSION int(11) DEFAULT NULL;
alter table MASTER_DEGREE_THESIS_DATA_VERSION_EXTERNAL_GUIDER drop PRIMARY KEY, add PRIMARY KEY (`OID_EXTERNAL_CONTRACT`,`OID_MASTER_DEGREE_THESIS_DATA_VERSION`);
ALTER TABLE MASTER_DEGREE_THESIS_DATA_VERSION_GUIDER modify KEY_MASTER_DEGREE_THESIS_DATA_VERSION int(11) DEFAULT NULL, modify KEY_TEACHER int(11) DEFAULT NULL;
alter table MASTER_DEGREE_THESIS_DATA_VERSION_GUIDER drop PRIMARY KEY, add PRIMARY KEY (`OID_MASTER_DEGREE_THESIS_DATA_VERSION`,`OID_TEACHER`);
ALTER TABLE META_DOMAIN_OBJECT modify KEY_ROOT_DOMAIN_OBJECT int(11) DEFAULT NULL;
ALTER TABLE MOBILITY_AGREEMENT modify KEY_REGISTRATION int(11) DEFAULT NULL, modify KEY_INSTITUTION int(11) DEFAULT NULL;
ALTER TABLE MODULES_TO_TRANSFER modify KEY_MODULE int(11) DEFAULT NULL, modify KEY_PARENT_MODULE int(11) DEFAULT NULL;
ALTER TABLE NEW_PARKING_DOCUMENT modify KEY_PARKING_FILE int(11) DEFAULT NULL, modify KEY_ROOT_DOMAIN_OBJECT int(11) DEFAULT NULL;
ALTER TABLE NON_AFFILIATED_TEACHER_EXECUTION_COURSE modify KEY_EXECUTION_COURSE int(11) DEFAULT NULL, modify KEY_NON_AFFILIATED_TEACHER int(11) DEFAULT NULL;
alter table NON_AFFILIATED_TEACHER_EXECUTION_COURSE drop PRIMARY KEY, add PRIMARY KEY (`OID_EXECUTION_COURSE`,`OID_NON_AFFILIATED_TEACHER`);
ALTER TABLE OLD_CURRICULAR_COURSE_CURRICULAR_COURSE_EQUIVALENCE modify KEY_CURRICULAR_COURSE int(11) DEFAULT NULL, modify KEY_CURRICULAR_COURSE_EQUIVALENCE int(11) DEFAULT NULL;
alter table OLD_CURRICULAR_COURSE_CURRICULAR_COURSE_EQUIVALENCE drop PRIMARY KEY, add PRIMARY KEY (`OID_CURRICULAR_COURSE`,`OID_CURRICULAR_COURSE_EQUIVALENCE`);
ALTER TABLE ORIENTATION_TEACHER modify KEY_ORIENTATION int(11) DEFAULT NULL, modify KEY_TEACHER int(11) DEFAULT NULL;
alter table ORIENTATION_TEACHER drop PRIMARY KEY, add PRIMARY KEY (`OID_ORIENTATION`,`OID_TEACHER`);
ALTER TABLE PARISH modify KEY_COUNTY int(11) DEFAULT NULL, modify KEY_ROOT_DOMAIN_OBJECT int(11) DEFAULT NULL;
ALTER TABLE PARISH_AREA_CODE modify KEY_DISTRICT_SUBDIVISION int(11) DEFAULT NULL, modify KEY_ROOT_DOMAIN_OBJECT int(11) DEFAULT NULL;
ALTER TABLE PARKING_REQUEST_PERIOD modify KEY_ROOT_DOMAIN_OBJECT int(11) DEFAULT NULL;
ALTER TABLE PARTICIPATION modify KEY_ROOT_DOMAIN_OBJECT int(11) DEFAULT NULL, modify KEY_PARTY int(11) DEFAULT NULL;
ALTER TABLE PARTY_CONTACT modify KEY_ROOT_DOMAIN_OBJECT int(11) DEFAULT NULL, modify KEY_PARTY int(11) DEFAULT NULL;
ALTER TABLE PARTY_CONTACT_VALIDATION_REQUEST modify KEY_PARTY_CONTACT int(11) DEFAULT NULL;
ALTER TABLE PASSWORD modify KEY_LOGIN int(11) DEFAULT NULL;
ALTER TABLE PASSWORD_RECOVER_REQUEST modify KEY_USER int(11) DEFAULT NULL;
ALTER TABLE PATH_RESTRICTION modify KEY_USER int(11) DEFAULT NULL, modify KEY_PATH_RESTRICTION_TEMPLATE int(11) DEFAULT NULL;
ALTER TABLE PATH_RESTRICTION_TEMPLATE modify KEY_ROOT_DOMAIN_OBJECT int(11) DEFAULT NULL;
ALTER TABLE PENALTY_EXEMPTION_JUSTIFICATION modify KEY_PENALTY_EXEMPTION int(11) DEFAULT NULL, modify KEY_ROOT_DOMAIN_OBJECT int(11) DEFAULT NULL;
ALTER TABLE PERSISTENT_GROUP_MEMBERS_PERSON modify KEY_PERSON int(11) DEFAULT NULL, modify KEY_PERSISTENT_GROUP_MEMBERS int(11) DEFAULT NULL;
alter table PERSISTENT_GROUP_MEMBERS_PERSON drop PRIMARY KEY, add PRIMARY KEY (`OID_PERSON`,`OID_PERSISTENT_GROUP_MEMBERS`);
ALTER TABLE PERSON_DEPARTMENT modify KEY_PERSON int(11) DEFAULT NULL, modify KEY_DEPARTMENT int(11) DEFAULT NULL;
alter table PERSON_DEPARTMENT drop PRIMARY KEY, add PRIMARY KEY (`OID_PERSON`,`OID_DEPARTMENT`);
ALTER TABLE PERSON_NAME modify KEY_ROOT_DOMAIN_OBJECT int(11) DEFAULT NULL, modify KEY_PERSON int(11) DEFAULT NULL;
ALTER TABLE PERSON_NAME_PART modify KEY_ROOT_DOMAIN_OBJECT int(11) DEFAULT NULL;
ALTER TABLE PERSON_NAME_PERSON_NAME_PART modify KEY_PERSON_NAME int(11) DEFAULT NULL, modify KEY_PERSON_NAME_PART int(11) DEFAULT NULL;
alter table PERSON_NAME_PERSON_NAME_PART drop PRIMARY KEY, add PRIMARY KEY (`OID_PERSON_NAME`,`OID_PERSON_NAME_PART`);
ALTER TABLE PERSON_ROLE modify KEY_ROLE int(11) DEFAULT NULL, modify KEY_PERSON int(11) DEFAULT NULL;
alter table PERSON_ROLE drop PRIMARY KEY, add PRIMARY KEY (`OID_ROLE`,`OID_PERSON`);
ALTER TABLE PRIZE modify KEY_ROOT_DOMAIN_OBJECT int(11) DEFAULT NULL;
ALTER TABLE PRIZE_WINNERS modify KEY_PARTY int(11) DEFAULT NULL, modify KEY_PRIZE int(11) DEFAULT NULL;
alter table PRIZE_WINNERS drop PRIMARY KEY, add PRIMARY KEY (`OID_PARTY`,`OID_PRIZE`);
ALTER TABLE PROFESSORSHIP_SCHOOL_CLASS modify KEY_PROFESSORSHIP int(11) DEFAULT NULL, modify KEY_SCHOOL_CLASS int(11) DEFAULT NULL;
alter table PROFESSORSHIP_SCHOOL_CLASS drop PRIMARY KEY, add PRIMARY KEY (`OID_PROFESSORSHIP`,`OID_SCHOOL_CLASS`);
ALTER TABLE PROPOSAL_BRANCH modify KEY_PROPOSAL int(11) DEFAULT NULL, modify KEY_BRANCH int(11) DEFAULT NULL;
alter table PROPOSAL_BRANCH drop PRIMARY KEY, add PRIMARY KEY (`OID_PROPOSAL`,`OID_BRANCH`);
ALTER TABLE PROTOCOL modify KEY_ROOT_DOMAIN_OBJECT int(11) DEFAULT NULL;
ALTER TABLE PROTOCOL_HISTORY modify KEY_PROTOCOL int(11) DEFAULT NULL, modify KEY_ROOT_DOMAIN_OBJECT int(11) DEFAULT NULL;
ALTER TABLE PROTOCOL_PARTNER modify KEY_UNIT int(11) DEFAULT NULL, modify KEY_PROTOCOL int(11) DEFAULT NULL;
alter table PROTOCOL_PARTNER drop PRIMARY KEY, add PRIMARY KEY (`OID_UNIT`,`OID_PROTOCOL`);
ALTER TABLE PROTOCOL_RESPONSIBLE modify KEY_PERSON int(11) DEFAULT NULL, modify KEY_PROTOCOL int(11) DEFAULT NULL;
alter table PROTOCOL_RESPONSIBLE drop PRIMARY KEY, add PRIMARY KEY (`OID_PERSON`,`OID_PROTOCOL`);
ALTER TABLE PROTOCOL_RESPONSIBLE_FUNCTION modify KEY_PROTOCOL int(11) DEFAULT NULL, modify KEY_FUNCTION int(11) DEFAULT NULL;
alter table PROTOCOL_RESPONSIBLE_FUNCTION drop PRIMARY KEY, add PRIMARY KEY (`OID_PROTOCOL`,`OID_FUNCTION`);
ALTER TABLE PROTOCOL_RESPONSIBLE_PARTNER modify KEY_PERSON int(11) DEFAULT NULL, modify KEY_PROTOCOL int(11) DEFAULT NULL;
alter table PROTOCOL_RESPONSIBLE_PARTNER drop PRIMARY KEY, add PRIMARY KEY (`OID_PERSON`,`OID_PROTOCOL`);
ALTER TABLE PROTOCOL_UNIT modify KEY_UNIT int(11) DEFAULT NULL, modify KEY_PROTOCOL int(11) DEFAULT NULL;
alter table PROTOCOL_UNIT drop PRIMARY KEY, add PRIMARY KEY (`OID_UNIT`,`OID_PROTOCOL`);
ALTER TABLE PUBLICATION_COLLABORATORS modify KEY_PERSON int(11) DEFAULT NULL, modify KEY_RESEARCH_UNIT int(11) DEFAULT NULL;
alter table PUBLICATION_COLLABORATORS drop PRIMARY KEY, add PRIMARY KEY (`OID_PERSON`,`OID_RESEARCH_UNIT`);
ALTER TABLE PUNCTUAL_ROOMS_OCCUPATION_COMMENT modify KEY_REQUEST int(11) DEFAULT NULL, modify KEY_OWNER int(11) DEFAULT NULL, modify KEY_ROOT_DOMAIN_OBJECT int(11) DEFAULT NULL;
ALTER TABLE PUNCTUAL_ROOMS_OCCUPATION_REQUEST modify KEY_REQUESTOR int(11) DEFAULT NULL, modify KEY_ROOT_DOMAIN_OBJECT int(11) DEFAULT NULL;
ALTER TABLE PUNCTUAL_ROOMS_OCCUPATION_STATE_INSTANT modify KEY_REQUEST int(11) DEFAULT NULL, modify KEY_ROOT_DOMAIN_OBJECT int(11) DEFAULT NULL;
ALTER TABLE REBIDES modify KEY_ROOT_DOMAIN_OBJECT int(11) DEFAULT NULL;
ALTER TABLE RECEIPT_ENTRY modify KEY_RECEIPT int(11) DEFAULT NULL, modify KEY_ENTRY int(11) DEFAULT NULL;
alter table RECEIPT_ENTRY drop PRIMARY KEY, add PRIMARY KEY (`OID_RECEIPT`,`OID_ENTRY`);
ALTER TABLE REGISTRATION_DATA_BY_EXECUTION_YEAR modify KEY_EXECUTION_YEAR int(11) DEFAULT NULL, modify KEY_ROOT_DOMAIN_OBJECT int(11) DEFAULT NULL;
ALTER TABLE REGISTRATION_NUMBER modify KEY_REGISTRATION int(11) DEFAULT NULL;
ALTER TABLE REGISTRATION_SCHOOL_CLASS modify KEY_REGISTRATION int(11) DEFAULT NULL, modify KEY_SCHOOL_CLASS int(11) DEFAULT NULL;
ALTER TABLE RESEARCHER modify KEY_ROOT_DOMAIN_OBJECT int(11) DEFAULT NULL, modify KEY_PERSON int(11) DEFAULT NULL;
ALTER TABLE RESEARCH_ACTIVITY modify KEY_ROOT_DOMAIN_OBJECT int(11) DEFAULT NULL;
ALTER TABLE RESOURCE_RESPONSIBILITY modify KEY_RESOURCE int(11) DEFAULT NULL, modify KEY_PARTY int(11) DEFAULT NULL;
ALTER TABLE RESULT_TEACHER modify KEY_ROOT_DOMAIN_OBJECT int(11) DEFAULT NULL, modify KEY_RESULT int(11) DEFAULT NULL, modify KEY_TEACHER int(11) DEFAULT NULL;
ALTER TABLE ROLE modify KEY_ROOT_DOMAIN_OBJECT int(11) DEFAULT NULL;
ALTER TABLE SCHEDULE_WORK_SCHEDULE modify KEY_SCHEDULE int(11) DEFAULT NULL, modify KEY_WORK_SCHEDULE int(11) DEFAULT NULL;
alter table SCHEDULE_WORK_SCHEDULE drop PRIMARY KEY, add PRIMARY KEY (`OID_SCHEDULE`,`OID_WORK_SCHEDULE`);
ALTER TABLE SCIENTIFIC_AREA_CURRICULAR_COURSE_GROUP modify KEY_CURRICULAR_COURSE_GROUP int(11) DEFAULT NULL, modify KEY_SCIENTIFIC_AREA int(11) DEFAULT NULL;
alter table SCIENTIFIC_AREA_CURRICULAR_COURSE_GROUP drop PRIMARY KEY, add PRIMARY KEY (`OID_CURRICULAR_COURSE_GROUP`,`OID_SCIENTIFIC_AREA`);
ALTER TABLE SCIENTIFIC_COMMISSION modify KEY_ROOT_DOMAIN_OBJECT int(11) DEFAULT NULL, modify KEY_PERSON int(11) DEFAULT NULL, modify KEY_EXECUTION_DEGREE int(11) DEFAULT NULL;
ALTER TABLE SECURITY_STAFF modify KEY_ROOT_DOMAIN_OBJECT int(11) DEFAULT NULL, modify KEY_PERSON int(11) DEFAULT NULL;
ALTER TABLE SERVICE modify KEY_ROOT_DOMAIN_OBJECT int(11) DEFAULT NULL;
ALTER TABLE SERVICE_ENTRY modify KEY_ROOT_DOMAIN_OBJECT int(11) DEFAULT NULL, modify KEY_SERVICE int(11) DEFAULT NULL, modify KEY_LOGIN_ALIAS int(11) DEFAULT NULL, modify KEY_SERVICE_STATE int(11) DEFAULT NULL;
ALTER TABLE SERVICE_ENTRY_ACTIVE_DIRECTORY_GROUP modify KEY_SERVICE_ENTRY int(11) DEFAULT NULL, modify KEY_ACTIVE_DIRECTORY_GROUP int(11) DEFAULT NULL;
alter table SERVICE_ENTRY_ACTIVE_DIRECTORY_GROUP drop PRIMARY KEY, add PRIMARY KEY (`OID_SERVICE_ENTRY`,`OID_ACTIVE_DIRECTORY_GROUP`);
ALTER TABLE SERVICE_STATE modify KEY_ROOT_DOMAIN_OBJECT int(11) DEFAULT NULL;
ALTER TABLE SHIFT_DISTRIBUTION modify KEY_EXECUTION_YEAR int(11) DEFAULT NULL, modify KEY_ROOT_DOMAIN_OBJECT int(11) DEFAULT NULL;
ALTER TABLE SHIFT_ENROLMENT modify KEY_ROOT_DOMAIN_OBJECT int(11) DEFAULT NULL, modify KEY_SHIFT int(11) DEFAULT NULL, modify KEY_REGISTRATION int(11) DEFAULT NULL;
ALTER TABLE SHIFT_SCHOOL_CLASS modify KEY_SHIFT int(11) DEFAULT NULL, modify KEY_SCHOOL_CLASS int(11) DEFAULT NULL;
alter table SHIFT_SCHOOL_CLASS drop PRIMARY KEY, add PRIMARY KEY (`OID_SHIFT`,`OID_SCHOOL_CLASS`);
ALTER TABLE SHIFT_STUDENT modify KEY_SHIFT int(11) DEFAULT NULL, modify KEY_REGISTRATION int(11) DEFAULT NULL;
alter table SHIFT_STUDENT drop PRIMARY KEY, add PRIMARY KEY (`OID_SHIFT`,`OID_REGISTRATION`);
ALTER TABLE STUDENT_ADDITIONAL_INFORMATION modify KEY_STUDENT int(11) DEFAULT NULL, modify KEY_ROOT_DOMAIN_OBJECT int(11) DEFAULT NULL;
ALTER TABLE STUDENT_CURRICULAR_PLAN_EQUIVALENCE_PLAN_ENTRY_TO_REMOVE modify KEY_STUDENT_CURRICULAR_PLAN_EQUIVALENCE_PLAN int(11) DEFAULT NULL, modify KEY_EQUIVALENCE_PLAN_ENTRY int(11) DEFAULT NULL;
alter table STUDENT_CURRICULAR_PLAN_EQUIVALENCE_PLAN_ENTRY_TO_REMOVE drop PRIMARY KEY, add PRIMARY KEY (`OID_STUDENT_CURRICULAR_PLAN_EQUIVALENCE_PLAN`,`OID_EQUIVALENCE_PLAN_ENTRY`);
ALTER TABLE STUDENT_DATA_BY_EXECUTION_YEAR modify KEY_EXECUTION_YEAR int(11) DEFAULT NULL, modify KEY_ROOT_DOMAIN_OBJECT int(11) DEFAULT NULL;
ALTER TABLE STUDENT_GROUP_ATTEND modify KEY_STUDENT_GROUP int(11) DEFAULT NULL, modify KEY_ATTENDS int(11) DEFAULT NULL;
alter table STUDENT_GROUP_ATTEND drop PRIMARY KEY, add PRIMARY KEY (`OID_STUDENT_GROUP`,`OID_ATTENDS`);
ALTER TABLE STUDENT_INGRESSION modify KEY_ROOT_DOMAIN_OBJECT int(11) DEFAULT NULL;
ALTER TABLE TEACHER_PERSONAL_EXPECTATION_PERIOD modify KEY_EXECUTION_YEAR int(11) DEFAULT NULL, modify KEY_DEPARTMENT int(11) DEFAULT NULL, modify KEY_ROOT_DOMAIN_OBJECT int(11) DEFAULT NULL;
ALTER TABLE TEACHER_SERVICE_DISTRIBUTION modify KEY_ROOT_DOMAIN_OBJECT int(11) DEFAULT NULL, modify KEY_T_S_D_PROCESS_PHASE int(11) DEFAULT NULL;
ALTER TABLE TEACHER_STATISTICS modify KEY_TEACHER int(11) DEFAULT NULL;
ALTER TABLE TEST_PERSON modify KEY_PERSON int(11) DEFAULT NULL, modify KEY_NEW_TEST int(11) DEFAULT NULL;
alter table TEST_PERSON drop PRIMARY KEY, add PRIMARY KEY (`OID_PERSON`,`OID_NEW_TEST`);
ALTER TABLE THESIS_EVALUATION_PARTICIPANT modify KEY_PERSON int(11) DEFAULT NULL, modify KEY_THESIS int(11) DEFAULT NULL;
ALTER TABLE T_S_D_COURSE modify KEY_ROOT_DOMAIN_OBJECT int(11) DEFAULT NULL, modify KEY_EXECUTION_PERIOD int(11) DEFAULT NULL;
ALTER TABLE T_S_D_COURSE_TEACHER_SERVICE_DISTRIBUTION modify KEY_T_S_D_COURSE int(11) DEFAULT NULL, modify KEY_TEACHER_SERVICE_DISTRIBUTION int(11) DEFAULT NULL;
ALTER TABLE T_S_D_CURRICULAR_LOAD modify KEY_T_S_D_COURSE int(11) DEFAULT NULL;
ALTER TABLE T_S_D_PROCESS modify KEY_ROOT_DOMAIN_OBJECT int(11) DEFAULT NULL, modify KEY_DEPARTMENT int(11) DEFAULT NULL, modify KEY_CREATOR int(11) DEFAULT NULL;
ALTER TABLE T_S_D_PROCESS_EXECUTION_PERIOD modify KEY_T_S_D_PROCESS int(11) DEFAULT NULL, modify KEY_EXECUTION_PERIOD int(11) DEFAULT NULL;
ALTER TABLE T_S_D_PROCESS_PHASE modify KEY_ROOT_DOMAIN_OBJECT int(11) DEFAULT NULL, modify KEY_T_S_D_PROCESS int(11) DEFAULT NULL;
ALTER TABLE T_S_D_PROFESSORSHIP modify KEY_ROOT_DOMAIN_OBJECT int(11) DEFAULT NULL, modify KEY_T_S_D_COURSE int(11) DEFAULT NULL, modify KEY_T_S_D_TEACHER int(11) DEFAULT NULL;
ALTER TABLE T_S_D_TEACHER modify KEY_ROOT_DOMAIN_OBJECT int(11) DEFAULT NULL;
ALTER TABLE T_S_D_TEACHER_TEACHER_SERVICE_DISTRIBUTION modify KEY_T_S_D_TEACHER int(11) DEFAULT NULL, modify KEY_TEACHER_SERVICE_DISTRIBUTION int(11) DEFAULT NULL;
ALTER TABLE T_S_D_VIRTUAL_COURSE_GROUP_DEGREE_CURRICULAR_PLAN modify KEY_T_S_D_VIRTUAL_COURSE_GROUP int(11) DEFAULT NULL, modify KEY_DEGREE_CURRICULAR_PLAN int(11) DEFAULT NULL;
ALTER TABLE UNAVAILABLE_PERIOD modify KEY_ROOT_DOMAIN_OBJECT int(11) DEFAULT NULL, modify KEY_VIGILANT int(11) DEFAULT NULL;
ALTER TABLE UNIT_ACRONYM modify KEY_ROOT_DOMAIN_OBJECT int(11) DEFAULT NULL;
ALTER TABLE UNIT_EXTRA_WORK_AMOUNT modify KEY_UNIT int(11) DEFAULT NULL, modify KEY_ROOT_DOMAIN_OBJECT int(11) DEFAULT NULL;
ALTER TABLE UNIT_EXTRA_WORK_MOVEMENT modify KEY_UNIT_EXTRA_WORK_AMOUNT int(11) DEFAULT NULL, modify KEY_ROOT_DOMAIN_OBJECT int(11) DEFAULT NULL;
ALTER TABLE UNIT_FILE_TAG modify KEY_UNIT int(11) DEFAULT NULL, modify KEY_ROOT_DOMAIN_OBJECT int(11) DEFAULT NULL;
ALTER TABLE UNIT_FUNCTIONALITY_PRINTERS modify KEY_UNIT int(11) DEFAULT NULL, modify KEY_FUNCTIONALITY_PRINTERS int(11) DEFAULT NULL;
alter table UNIT_FUNCTIONALITY_PRINTERS drop PRIMARY KEY, add PRIMARY KEY (`OID_UNIT`,`OID_FUNCTIONALITY_PRINTERS`);
ALTER TABLE UNIT_NAME modify KEY_ROOT_DOMAIN_OBJECT int(11) DEFAULT NULL, modify KEY_UNIT int(11) DEFAULT NULL;
ALTER TABLE UNIT_NAME_PART modify KEY_ROOT_DOMAIN_OBJECT int(11) DEFAULT NULL;
ALTER TABLE UNIT_NAME_UNIT_NAME_PART modify KEY_UNIT_NAME int(11) DEFAULT NULL, modify KEY_UNIT_NAME_PART int(11) DEFAULT NULL;
alter table UNIT_NAME_UNIT_NAME_PART drop PRIMARY KEY, add PRIMARY KEY (`OID_UNIT_NAME`,`OID_UNIT_NAME_PART`);
ALTER TABLE UNIT_SITE_BANNER modify KEY_ROOT_DOMAIN_OBJECT int(11) DEFAULT NULL, modify KEY_SITE int(11) DEFAULT NULL, modify KEY_MAIN_IMAGE int(11) DEFAULT NULL;
ALTER TABLE UNIT_SITE_LINK modify KEY_ROOT_DOMAIN_OBJECT int(11) DEFAULT NULL;
ALTER TABLE UNIT_SITE_MANAGERS modify KEY_UNIT_SITE int(11) DEFAULT NULL, modify KEY_PERSON int(11) DEFAULT NULL;
alter table UNIT_SITE_MANAGERS drop PRIMARY KEY, add PRIMARY KEY (`OID_UNIT_SITE`,`OID_PERSON`);
ALTER TABLE USERNAME_COUNTER modify KEY_ROOT_DOMAIN_OBJECT int(11) DEFAULT NULL;
ALTER TABLE VALUATION_COMPETENCE_COURSE modify KEY_ROOT_DOMAIN_OBJECT int(11) DEFAULT NULL;
ALTER TABLE VALUATION_CURRICULAR_COURSE modify KEY_ROOT_DOMAIN_OBJECT int(11) DEFAULT NULL;
ALTER TABLE VEHICLE modify KEY_ROOT_DOMAIN_OBJECT int(11) DEFAULT NULL;
ALTER TABLE VIGILANCY modify KEY_ROOT_DOMAIN_OBJECT int(11) DEFAULT NULL, modify KEY_VIGILANT int(11) DEFAULT NULL, modify KEY_WRITTEN_EVALUATION int(11) DEFAULT NULL;
ALTER TABLE VIGILANT modify KEY_ROOT_DOMAIN_OBJECT int(11) DEFAULT NULL, modify KEY_PERSON int(11) DEFAULT NULL, modify KEY_EXECUTION_YEAR int(11) DEFAULT NULL;
ALTER TABLE VIGILANT_BOUND modify KEY_ROOT_DOMAIN_OBJECT int(11) DEFAULT NULL, modify KEY_VIGILANT int(11) DEFAULT NULL, modify KEY_VIGILANT_GROUP int(11) DEFAULT NULL;
ALTER TABLE VIGILANT_GROUP modify KEY_ROOT_DOMAIN_OBJECT int(11) DEFAULT NULL, modify KEY_UNIT int(11) DEFAULT NULL, modify KEY_EXECUTION_YEAR int(11) DEFAULT NULL;
ALTER TABLE WRITTEN_EVALUATION_CONTEXT modify KEY_WRITTEN_EVALUATION int(11) DEFAULT NULL, modify KEY_CONTEXT int(11) DEFAULT NULL;
alter table WRITTEN_EVALUATION_CONTEXT drop PRIMARY KEY, add PRIMARY KEY (`OID_WRITTEN_EVALUATION`,`OID_CONTEXT`);
ALTER TABLE WRITTEN_EVALUATION_CURRICULAR_COURSE_SCOPE modify KEY_CURRICULAR_COURSE_SCOPE int(11) DEFAULT NULL, modify KEY_WRITTEN_EVALUATION int(11) DEFAULT NULL;
alter table WRITTEN_EVALUATION_CURRICULAR_COURSE_SCOPE drop PRIMARY KEY, add PRIMARY KEY (`OID_CURRICULAR_COURSE_SCOPE`,`OID_WRITTEN_EVALUATION`);
ALTER TABLE WRITTEN_EVALUATION_WRITTEN_EVALUATION_SPACE_OCCUPATION modify KEY_WRITTEN_EVALUATION int(11) DEFAULT NULL, modify KEY_WRITTEN_EVALUATION_SPACE_OCCUPATION int(11) DEFAULT NULL;
alter table WRITTEN_EVALUATION_WRITTEN_EVALUATION_SPACE_OCCUPATION drop PRIMARY KEY, add PRIMARY KEY (`OID_WRITTEN_EVALUATION`,`OID_WRITTEN_EVALUATION_SPACE_OCCUPATION`);
