CREATE INDEX fki_ATT_ATTACHEDBY_ID on JBPM.ATTACHMENT(ATTACHEDBY_ID);
CREATE INDEX fki_ATT_TASKD_ATT_ID on JBPM.ATTACHMENT(TASKDATA_ATTACHMENTS_ID);
CREATE INDEX fki_BOOL_ESCA_CONS_ID on JBPM.BOOLEANEXPRESSION(ESCALATION_CONSTRAINTS_ID);
CREATE INDEX fki_CORR_CORRKEY_KEYID on JBPM.CORRELATIONPROPERTYINFO(CORRELATIONKEY_KEYID);
CREATE INDEX fki_DEADLINE_ENDDEADLINE_ID on JBPM.DEADLINE(DEADLINES_ENDDEADLINE_ID);
CREATE INDEX fki_DEADLINE_STARTDEADLINE_ID on JBPM.DEADLINE(DEADLINES_STARTDEADLINE_ID);
CREATE INDEX fki_DELEGATION_ENTITY_ID on JBPM.DELEGATION_DELEGATES(ENTITY_ID);
CREATE INDEX fki_DELEGATION__TASK_ID on JBPM.DELEGATION_DELEGATES(TASK_ID);
CREATE INDEX fki_ERRORINFO_REQUEST_ID on JBPM.ERRORINFO(REQUEST_ID);
CREATE INDEX fki__DEADLINE_ESCALATION_ID on JBPM.ESCALATION(DEADLINE_ESCALATION_ID);
CREATE INDEX fki_I18N_DEADLINE_DOC_ID on JBPM.I18NTEXT(DEADLINE_DOCUMENTATION_ID);
CREATE INDEX fki_I18N_NOTIF_DESCR_ID on JBPM.I18NTEXT(NOTIFICATION_DESCRIPTIONS_ID);
CREATE INDEX fki_I18N_NOTIF_DOC_ID on JBPM.I18NTEXT(NOTIFICATION_DOCUMENTATION_ID);
CREATE INDEX fki_I18N_NOTIF_NAMES_ID on JBPM.I18NTEXT(NOTIFICATION_NAMES_ID);
CREATE INDEX fki_I18N_NOTIF_SUBJECTS_ID on JBPM.I18NTEXT(NOTIFICATION_SUBJECTS_ID);
CREATE INDEX fki_I18N_REASS_DOC_ID on JBPM.I18NTEXT(REASSIGNMENT_DOCUMENTATION_ID);
CREATE INDEX fki_I18N_TASK_DESCR_ID on JBPM.I18NTEXT(TASK_DESCRIPTIONS_ID);
CREATE INDEX fki_I18N_TASK_NAMES_ID on JBPM.I18NTEXT(TASK_NAMES_ID);
CREATE INDEX fki_I18N_TASK_SUBJECTS_ID on JBPM.I18NTEXT(TASK_SUBJECTS_ID);
CREATE INDEX fki_NOTIF_ESCA_NOTIF_ID on JBPM.NOTIFICATION(ESCALATION_NOTIFICATIONS_ID);
CREATE INDEX fki_NOTIF_BAS_ENTITY_ID on JBPM.NOTIFICATION_BAS(ENTITY_ID);
CREATE INDEX fki_NOTIF_BAS_TASK_ID on JBPM.NOTIFICATION_BAS(TASK_ID);
CREATE INDEX fki_NOTIF_RECIPIENTS_ENTITY_ID on JBPM.NOTIFICATION_RECIPIENTS(ENTITY_ID);
CREATE INDEX fki_NOTIF_RECIPIENTS_TASK_ID on JBPM.NOTIFICATION_RECIPIENTS(TASK_ID);
CREATE INDEX fki_PEOPL_BAS_ENTITY_ID on JBPM.PEOPLEASSIGNMENTS_BAS(ENTITY_ID);
CREATE INDEX fki_PEOPL_BAS_TASK_ID on JBPM.PEOPLEASSIGNMENTS_BAS(TASK_ID);
CREATE INDEX fki_PEOPL_EXCLOWNERS_ENTITY_ID on JBPM.PEOPLEASSIGNMENTS_EXCLOWNERS(ENTITY_ID);
CREATE INDEX fki_PEOPL_EXCLOWNERS_TASK_ID on JBPM.PEOPLEASSIGNMENTS_EXCLOWNERS(TASK_ID);
CREATE INDEX fki_PEOPL_POTOWNERS_ENTITY_ID on JBPM.PEOPLEASSIGNMENTS_POTOWNERS(ENTITY_ID);
CREATE INDEX fki_PEOPL_POTOWNERS_TASK_ID on JBPM.PEOPLEASSIGNMENTS_POTOWNERS(TASK_ID);
CREATE INDEX fki_PEOPL_RECIPS_ENTITY_ID on JBPM.PEOPLEASSIGNMENTS_RECIPIENTS(ENTITY_ID);
CREATE INDEX fki_PEOPL_RECIP_TASK_ID on JBPM.PEOPLEASSIGNMENTS_RECIPIENTS(TASK_ID);
CREATE INDEX fki_PEOPL_STAKES_ENTITY_ID on JBPM.PEOPLEASSIGNMENTS_STAKEHOLDERS(ENTITY_ID);
CREATE INDEX fki_PEOPL_STAKE_TASK_ID on JBPM.PEOPLEASSIGNMENTS_STAKEHOLDERS(TASK_ID);
CREATE INDEX fki_REASS_ESCA_REASS_ID on JBPM.REASSIGNMENT(ESCALATION_REASSIGNMENTS_ID);
CREATE INDEX fki_REASS_POTOWNERS_ENTITY_ID on JBPM.REASSIGNMENT_POTENTIALOWNERS(ENTITY_ID);
CREATE INDEX fki_REASS_POTOWNERS_TASK_ID on JBPM.REASSIGNMENT_POTENTIALOWNERS(TASK_ID);
CREATE INDEX fki_TASK_ACT_ID on JBPM.TASK(ACTUALOWNER_ID);
CREATE INDEX fki_TASK_CREATEDBY_ID on JBPM.TASK(CREATEDBY_ID);
CREATE INDEX fki_TASK_TASKINITIATOR_ID on JBPM.TASK(TASKINITIATOR_ID);
CREATE INDEX fki_TASK_ADDEDBY_ID on JBPM.TASK_COMMENT(ADDEDBY_ID);
CREATE INDEX fki_TASK_COMMENTS_ID on JBPM.TASK_COMMENT(TASKDATA_COMMENTS_ID);
