The db constraint for uiapi.oq_job_profile.period is wrong
CHECK(((imt = 'sa' AND calc_mode != 'uhs') AND (period IS NOT NULL)) OR ((imt != 'sa' OR calc_mode = 'uhs') AND (period IS NULL))),
we should not even consider the IMT
The db constraint for uiapi.oq_ job_profile. period is wrong
CHECK(((imt = 'sa' AND calc_mode != 'uhs') AND (period IS NOT NULL))
OR ((imt != 'sa' OR calc_mode = 'uhs') AND (period IS NULL))),
we should not even consider the IMT