diff --git a/features/application-mgt/org.wso2.carbon.device.application.mgt.server.feature/src/main/resources/dbscripts/cdm/application-mgt/h2.sql b/features/application-mgt/org.wso2.carbon.device.application.mgt.server.feature/src/main/resources/dbscripts/cdm/application-mgt/h2.sql index 5dbace45473..b17cf533908 100644 --- a/features/application-mgt/org.wso2.carbon.device.application.mgt.server.feature/src/main/resources/dbscripts/cdm/application-mgt/h2.sql +++ b/features/application-mgt/org.wso2.carbon.device.application.mgt.server.feature/src/main/resources/dbscripts/cdm/application-mgt/h2.sql @@ -140,7 +140,6 @@ CREATE TABLE IF NOT EXISTS AP_DEVICE_SUBSCRIPTION( AP_APP_ID ) ON DELETE NO ACTION ON UPDATE NO ACTION ); -CREATE INDEX fk_AM_DEVICE_SUBSCRIPTION_DM_DEVICE1_idx ON AP_DEVICE_SUBSCRIPTION (DM_DEVICE_ID ASC); CREATE INDEX fk_AP_DEVICE_SUBSCRIPTION_AP_APP_RELEASE1_idx ON AP_DEVICE_SUBSCRIPTION (AP_APP_RELEASE_ID ASC, AP_APP_ID ASC); -- ----------------------------------------------------- @@ -168,7 +167,6 @@ CREATE TABLE IF NOT EXISTS AP_GROUP_SUBSCRIPTION( AP_APP_ID ) ON DELETE NO ACTION ON UPDATE NO ACTION ); -CREATE INDEX fk_AM_GROUP_SUBSCRIPTION_DM_GROUP1_idx ON AP_GROUP_SUBSCRIPTION (DM_GROUP_ID ASC); CREATE INDEX fk_AP_GROUP_SUBSCRIPTION_AP_APP_RELEASE1_idx ON AP_GROUP_SUBSCRIPTION (AP_APP_RELEASE_ID ASC,AP_APP_ID ASC); -- -----------------------------------------------------