diff --git a/migration/331b-trunk/131_FR1924645.sql b/migration/331b-trunk/131_FR1924645.sql index 56d5925117..ccaca42f99 100644 --- a/migration/331b-trunk/131_FR1924645.sql +++ b/migration/331b-trunk/131_FR1924645.sql @@ -1,3 +1,5 @@ -- [ 1924645 ] Index ad_wf_activity_status too slow -DROP INDEX ad_wf_activity_status; \ No newline at end of file +DROP INDEX ad_wf_activity_status; + +CREATE INDEX AD_WF_ACTIVITY_STATUS ON AD_WF_ACTIVITY(WFSTATE, PROCESSED) diff --git a/migration/331b-trunk/postgresql/131_FR1924645.sql b/migration/331b-trunk/postgresql/131_FR1924645.sql index 56d5925117..ccaca42f99 100644 --- a/migration/331b-trunk/postgresql/131_FR1924645.sql +++ b/migration/331b-trunk/postgresql/131_FR1924645.sql @@ -1,3 +1,5 @@ -- [ 1924645 ] Index ad_wf_activity_status too slow -DROP INDEX ad_wf_activity_status; \ No newline at end of file +DROP INDEX ad_wf_activity_status; + +CREATE INDEX AD_WF_ACTIVITY_STATUS ON AD_WF_ACTIVITY(WFSTATE, PROCESSED)