From a84ff2541b9cee5dba7a1ea531160f5a1b60dbf2 Mon Sep 17 00:00:00 2001 From: lasanthaDLPDS Date: Mon, 1 Apr 2019 08:17:18 +0530 Subject: [PATCH] Fix h2 sql issues --- .../src/main/resources/dbscripts/cdm/application-mgt/h2.sql | 2 -- 1 file changed, 2 deletions(-) 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); -- -----------------------------------------------------