RUNTIME ERROR ISSUE

0
An error occurred while initializing the Runtime: Detected unique constraint violation [entity: MyFirstModule.Course, attribute: Title] For more information on migration, please refer to the Mendix Uniqueness Constraint Migration guide at https://docs.mendix.com/refguide/uniqueness-constraint-migration.
asked
1 answers
0

Hi Prajakta,

It appears that you have more than one Course with the same Title and added a database-level uniqueness constraint on the Title attribute of the Course entity in your MyFirstModule module. Unfortunately, your runtime will not instantiate while this the case.

You can simply remove the constraint and run your application again. Rename or remove the courses with the same name before adding the constraint again.

answered