metafresh logo and link to homepage

IT FRESH-827

#539 Add missing FK constraints

Testcase to check if FK constraint is added when you create a new column

FK Constraint

  1. Login as sysadmin and pick a table (e.g. M_InOut)

  2. add a column that doesn’t already exist there (e.g. C_Currency_ID)
  3. press on issyncdatabase button

  4. go to the place where migrationscripts are saved, open your migrationscript
  5. now if you want to remove the column you have to:

Zur Quelldatei auf github.com