Comment 1 for bug 984734

Revision history for this message
Muharem Hrnjadovic (al-maisan) wrote :

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