Liquibase changelog generator can not detect foreign key change

Hi team,

Steps:

  1. add M2O association in entity, leave FK constraint action blank.
  2. start the app, Jmix will generate change log for this field without onDelete property.
  3. stop the app, back to designer, change FK constraint action to CASCADE for this field.
  4. start the app again.

ER:
New changelog should be generated to update the FK constraint.

AR:
Nothing happened.

See attached project, the field is User.parent.

fkchg.zip (81.6 KB)

Hi, Bryan

Thanks for reporting the issue and providing detailed description.
You can follow the progress on YouTrack.

2 Likes