IDEMPIERE-460 Correcting Migration scripts

This commit is contained in:
Deepak Pansheriya 2012-12-13 16:47:28 +05:30
parent d3f2cfddf0
commit 70a8c85f3c
10 changed files with 46 additions and 0 deletions

View File

@ -1536,3 +1536,5 @@ UPDATE AD_Field SET IsSameLine='N',Updated=TO_DATE('2009-01-30 20:03:13','YYYY-M
UPDATE AD_Tab SET AD_Column_ID=56765,Updated=TO_DATE('2009-02-01 19:49:10','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Tab_ID=53190 UPDATE AD_Tab SET AD_Column_ID=56765,Updated=TO_DATE('2009-02-01 19:49:10','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Tab_ID=53190
; ;
SELECT register_migration_script('WS001_WebServices.sql') FROM dual
;

View File

@ -30,3 +30,5 @@ INSERT INTO WS_WebServiceMethod (AD_Client_ID,AD_Org_ID,Created,CreatedBy,Descri
INSERT INTO WS_WebServiceMethod (AD_Client_ID,AD_Org_ID,Created,CreatedBy,Description,IsActive,Name,Updated,UpdatedBy,Value,WS_WebService_ID,WS_WebServiceMethod_ID) VALUES (0,0,TO_DATE('2009-01-30 19:22:50','YYYY-MM-DD HH24:MI:SS'),100,'Access records via conditions on columns - return data rows','Y','Query Data',TO_DATE('2009-01-30 19:22:50','YYYY-MM-DD HH24:MI:SS'),100,'queryData',50001,50028) INSERT INTO WS_WebServiceMethod (AD_Client_ID,AD_Org_ID,Created,CreatedBy,Description,IsActive,Name,Updated,UpdatedBy,Value,WS_WebService_ID,WS_WebServiceMethod_ID) VALUES (0,0,TO_DATE('2009-01-30 19:22:50','YYYY-MM-DD HH24:MI:SS'),100,'Access records via conditions on columns - return data rows','Y','Query Data',TO_DATE('2009-01-30 19:22:50','YYYY-MM-DD HH24:MI:SS'),100,'queryData',50001,50028)
; ;
SELECT register_migration_script('WS002_WebServicesDefinition.sql') FROM dual
;

View File

@ -81,3 +81,5 @@ INSERT INTO WS_WebServiceFieldInput (AD_Client_ID,AD_Column_ID,AD_Org_ID,Created
INSERT INTO WS_WebServiceTypeAccess (AD_Client_ID,AD_Org_ID,AD_Role_ID,Created,CreatedBy,IsActive,IsReadWrite,Updated,UpdatedBy,WS_WebServiceType_ID) VALUES (11,0,50004,TO_DATE('2009-01-30 19:50:41','YYYY-MM-DD HH24:MI:SS'),100,'Y','Y',TO_DATE('2009-01-30 19:50:41','YYYY-MM-DD HH24:MI:SS'),100,50001) INSERT INTO WS_WebServiceTypeAccess (AD_Client_ID,AD_Org_ID,AD_Role_ID,Created,CreatedBy,IsActive,IsReadWrite,Updated,UpdatedBy,WS_WebServiceType_ID) VALUES (11,0,50004,TO_DATE('2009-01-30 19:50:41','YYYY-MM-DD HH24:MI:SS'),100,'Y','Y',TO_DATE('2009-01-30 19:50:41','YYYY-MM-DD HH24:MI:SS'),100,50001)
; ;
SELECT register_migration_script('WS003_WebServicesConfigGardenWorldSample.sql') FROM dual
;

View File

@ -1 +1,5 @@
update AD_Column set SeqNo=2 WHERE AD_Column_ID=56714; update AD_Column set SeqNo=2 WHERE AD_Column_ID=56714;
SELECT register_migration_script('WS004_WebServicesFixDict.sql') FROM dual
;

View File

@ -606,3 +606,16 @@ UPDATE AD_Field SET ColumnSpan=2,Updated=TO_DATE('2012-12-13 00:16:01','YYYY-MM-
-- IDEMPIERE-460 Adding support for composite service -- IDEMPIERE-460 Adding support for composite service
UPDATE AD_Field SET XPosition=2,Updated=TO_DATE('2012-12-13 00:16:09','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=56676 UPDATE AD_Field SET XPosition=2,Updated=TO_DATE('2012-12-13 00:16:09','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=56676
; ;
-- Dec 13, 2012 4:27:02 PM IST
-- IDEMPIERE-460 Adding support for composite service
INSERT INTO WS_WebService (AD_Client_ID,AD_Org_ID,Created,CreatedBy,Help,IsActive,WS_WebService_ID,Name,Updated,UpdatedBy,Value,WS_WebService_UU) VALUES (0,0,TO_DATE('2012-12-13 16:26:45','YYYY-MM-DD HH24:MI:SS'),100,'Composite service','Y',200001,'CompositeInderface',TO_DATE('2012-12-13 16:26:45','YYYY-MM-DD HH24:MI:SS'),100,'CompositeInderface','df6cc221-05a7-403f-8abb-bdf24344094a')
;
-- Dec 13, 2012 4:27:28 PM IST
-- IDEMPIERE-460 Adding support for composite service
INSERT INTO WS_WebServiceMethod (CreatedBy,AD_Client_ID,AD_Org_ID,Created,IsActive,WS_WebServiceMethod_ID,Name,Updated,UpdatedBy,Value,WS_WebService_ID,WS_WebServiceMethod_UU) VALUES (100,0,0,TO_DATE('2012-12-13 16:27:27','YYYY-MM-DD HH24:MI:SS'),'Y',200001,'composite',TO_DATE('2012-12-13 16:27:27','YYYY-MM-DD HH24:MI:SS'),100,'composite',200001,'a3a5ce29-792a-4e99-b0c9-68779fdc89e3')
;
SELECT register_migration_script('WS005_IdempiereWebservice.sql') FROM dual
;

View File

@ -1536,3 +1536,5 @@ UPDATE AD_Field SET IsSameLine='N',Updated=TO_TIMESTAMP('2009-01-30 20:03:13','Y
UPDATE AD_Tab SET AD_Column_ID=56765,Updated=TO_TIMESTAMP('2009-02-01 19:49:10','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Tab_ID=53190 UPDATE AD_Tab SET AD_Column_ID=56765,Updated=TO_TIMESTAMP('2009-02-01 19:49:10','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Tab_ID=53190
; ;
SELECT register_migration_script('WS001_WebServices.sql') FROM dual
;

View File

@ -27,3 +27,6 @@ INSERT INTO WS_WebServiceMethod (AD_Client_ID,AD_Org_ID,Created,CreatedBy,Descri
INSERT INTO WS_WebServiceMethod (AD_Client_ID,AD_Org_ID,Created,CreatedBy,Description,IsActive,Name,Updated,UpdatedBy,Value,WS_WebService_ID,WS_WebServiceMethod_ID) VALUES (0,0,TO_TIMESTAMP('2009-01-30 19:22:50','YYYY-MM-DD HH24:MI:SS'),100,'Access records via conditions on columns - return data rows','Y','Query Data',TO_TIMESTAMP('2009-01-30 19:22:50','YYYY-MM-DD HH24:MI:SS'),100,'queryData',50001,50028) INSERT INTO WS_WebServiceMethod (AD_Client_ID,AD_Org_ID,Created,CreatedBy,Description,IsActive,Name,Updated,UpdatedBy,Value,WS_WebService_ID,WS_WebServiceMethod_ID) VALUES (0,0,TO_TIMESTAMP('2009-01-30 19:22:50','YYYY-MM-DD HH24:MI:SS'),100,'Access records via conditions on columns - return data rows','Y','Query Data',TO_TIMESTAMP('2009-01-30 19:22:50','YYYY-MM-DD HH24:MI:SS'),100,'queryData',50001,50028)
; ;
SELECT register_migration_script('WS002_WebServicesDefinition.sql') FROM dual
;

View File

@ -81,3 +81,5 @@ INSERT INTO WS_WebServiceFieldInput (AD_Client_ID,AD_Column_ID,AD_Org_ID,Created
INSERT INTO WS_WebServiceTypeAccess (AD_Client_ID,AD_Org_ID,AD_Role_ID,Created,CreatedBy,IsActive,IsReadWrite,Updated,UpdatedBy,WS_WebServiceType_ID) VALUES (11,0,50004,TO_TIMESTAMP('2009-01-30 19:50:41','YYYY-MM-DD HH24:MI:SS'),100,'Y','Y',TO_TIMESTAMP('2009-01-30 19:50:41','YYYY-MM-DD HH24:MI:SS'),100,50001) INSERT INTO WS_WebServiceTypeAccess (AD_Client_ID,AD_Org_ID,AD_Role_ID,Created,CreatedBy,IsActive,IsReadWrite,Updated,UpdatedBy,WS_WebServiceType_ID) VALUES (11,0,50004,TO_TIMESTAMP('2009-01-30 19:50:41','YYYY-MM-DD HH24:MI:SS'),100,'Y','Y',TO_TIMESTAMP('2009-01-30 19:50:41','YYYY-MM-DD HH24:MI:SS'),100,50001)
; ;
SELECT register_migration_script('WS003_WebServicesConfigGardenWorldSample.sql') FROM dual
;

View File

@ -1 +1,4 @@
update AD_Column set SeqNo=2 WHERE AD_Column_ID=56714; update AD_Column set SeqNo=2 WHERE AD_Column_ID=56714;
SELECT register_migration_script('WS004_WebServicesFixDict.sql') FROM dual
;

View File

@ -615,3 +615,16 @@ UPDATE AD_Field SET ColumnSpan=2,Updated=TO_TIMESTAMP('2012-12-13 00:16:01','YYY
UPDATE AD_Field SET XPosition=2,Updated=TO_TIMESTAMP('2012-12-13 00:16:09','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=56676 UPDATE AD_Field SET XPosition=2,Updated=TO_TIMESTAMP('2012-12-13 00:16:09','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=56676
; ;
-- Dec 13, 2012 4:27:02 PM IST
-- IDEMPIERE-460 Adding support for composite service
INSERT INTO WS_WebService (AD_Client_ID,AD_Org_ID,Created,CreatedBy,Help,IsActive,WS_WebService_ID,Name,Updated,UpdatedBy,Value,WS_WebService_UU) VALUES (0,0,TO_TIMESTAMP('2012-12-13 16:26:45','YYYY-MM-DD HH24:MI:SS'),100,'Composite service','Y',200001,'CompositeInderface',TO_TIMESTAMP('2012-12-13 16:26:45','YYYY-MM-DD HH24:MI:SS'),100,'CompositeInderface','df6cc221-05a7-403f-8abb-bdf24344094a')
;
-- Dec 13, 2012 4:27:28 PM IST
-- IDEMPIERE-460 Adding support for composite service
INSERT INTO WS_WebServiceMethod (CreatedBy,AD_Client_ID,AD_Org_ID,Created,IsActive,WS_WebServiceMethod_ID,Name,Updated,UpdatedBy,Value,WS_WebService_ID,WS_WebServiceMethod_UU) VALUES (100,0,0,TO_TIMESTAMP('2012-12-13 16:27:27','YYYY-MM-DD HH24:MI:SS'),'Y',200001,'composite',TO_TIMESTAMP('2012-12-13 16:27:27','YYYY-MM-DD HH24:MI:SS'),100,'composite',200001,'a3a5ce29-792a-4e99-b0c9-68779fdc89e3')
;
SELECT register_migration_script('WS005_IdempiereWebservice.sql') FROM dual
;