IDEMPIERE-3358 Fix the index for ASP_ClientLevel - add the fix also in a new migration script in case the previous was already applied
This commit is contained in:
parent
2e74a9b7de
commit
c5aca27ae1
|
@ -139,7 +139,7 @@ INSERT INTO AD_IndexColumn (AD_Client_ID,AD_Org_ID,AD_IndexColumn_ID,AD_IndexCol
|
|||
;
|
||||
|
||||
-- Apr 29, 2017 7:31:24 PM CEST
|
||||
CREATE UNIQUE INDEX asp_clientlevel_unq ON ASP_ClientLevel (AD_Client_ID,ASP_Module_ID)
|
||||
CREATE UNIQUE INDEX asp_clientlevel_unq ON ASP_ClientLevel (AD_Client_ID,ASP_Level_ID)
|
||||
;
|
||||
|
||||
-- Apr 29, 2017 7:33:18 PM CEST
|
||||
|
|
|
@ -0,0 +1,10 @@
|
|||
-- IDEMPIERE-3358 Dictionary fixes - ASP Indexes
|
||||
DROP INDEX asp_clientlevel_unq
|
||||
;
|
||||
|
||||
CREATE UNIQUE INDEX asp_clientlevel_unq ON ASP_ClientLevel (AD_Client_ID,ASP_Level_ID)
|
||||
;
|
||||
|
||||
SELECT register_migration_script('201705121535_IDEMPIERE-3358_ASP_indexes.sql') FROM dual
|
||||
;
|
||||
|
|
@ -136,7 +136,7 @@ INSERT INTO AD_IndexColumn (AD_Client_ID,AD_Org_ID,AD_IndexColumn_ID,AD_IndexCol
|
|||
;
|
||||
|
||||
-- Apr 29, 2017 7:31:24 PM CEST
|
||||
CREATE UNIQUE INDEX asp_clientlevel_unq ON ASP_ClientLevel (AD_Client_ID,ASP_Module_ID)
|
||||
CREATE UNIQUE INDEX asp_clientlevel_unq ON ASP_ClientLevel (AD_Client_ID,ASP_Level_ID)
|
||||
;
|
||||
|
||||
-- Apr 29, 2017 7:33:18 PM CEST
|
||||
|
|
|
@ -0,0 +1,10 @@
|
|||
-- IDEMPIERE-3358 Dictionary fixes - ASP Indexes
|
||||
DROP INDEX asp_clientlevel_unq
|
||||
;
|
||||
|
||||
CREATE UNIQUE INDEX asp_clientlevel_unq ON ASP_ClientLevel (AD_Client_ID,ASP_Level_ID)
|
||||
;
|
||||
|
||||
SELECT register_migration_script('201705121535_IDEMPIERE-3358_ASP_indexes.sql') FROM dual
|
||||
;
|
||||
|
Loading…
Reference in New Issue