Incorporated comments tester: WTI-1991- Set the orientation to NULL / NaN when revetment calculations use an invalid foreshore profile- Added missing asserts
Cleanup: WTI-1991- Moved deletions before the foreign key constraint. Deletions already guarantee that the orphaned entries for illustration points are removed due to triggers- Added logic to remove dike height and overtopping rate output in case of invalid dikeprofiles to prevent orphans
Cleanup: WTI-1991- Cleaned up migration script --> changed migration logic to prevent orphans in the database after migration.-- Applied for Revetment outputs
Cleanup: WTI-1991- Cleaned up migration script --> changed migration logic to prevent orphans in the database after migration.-- Applied for structures
Updated migration logic dikeprofiles: WTI-1991- Added testcases to verify behaviour- Updated queries to migrate correct calculation settings when the calculation uses an invalid foreshoreprofile
Updated migration logic: WTI-1991- Additional cases added to verify behaviour when there's only a dam present in the foreshore profile definition- Synchronised calculation names for the ease of testing
Updated migration logic: WTI-1991- Updated migration of grass cover erosion outwards calculations --> value should be 'Both' when output is removed in case of an invalid foreshore profile.
Updated migration logic: WTI-1991- Do not migrate calculation outputs that are based on invalid foreshoreprofiles-- Performed for GrassCoverErosionOutwards
Updated migration logic: WTI-1991- Do not migrate calculation outputs that are based on invalid foreshoreprofiles-- Performed for WaveImpactAsphalt and StabilityStoneCover outputs