I am adding ASSOCIATION in my entity with Many-to-One relation to user entity and scripts are getting generated also but studio is giving error at the time of updating the database as shown below.
Failed to execute: alter table SAAS_FIELD_REPORT_ENTRY add constraint FK_SAAS_FIELD_REPORT_ENTRY_REPORT_CREATEDUSER foreign key (REPORT_CREATEDUSER_ID) references SEC_USER(ID);
create index IDX_SAAS_FIELD_REPORT_ENTRY_REPORT_CREATEDUSER on SAAS_FIELD_REPORT_ENTRY (REPORT_CREATEDUSER_ID);
because: Impossible d’ajouter des contraintes d’index externe
message is in french I guess… Dont know the meaning of this error message.
Translation : Can not add external index constraints
Not sure this will affect anything, but try to enable impoved constraint and indexes naming in your project.
To do it: Open Help->Settings in Studio. Find there Studio Functionality settings.