From 9e55d99fd87c004914bd997574c57bc1d4773916 Mon Sep 17 00:00:00 2001 From: Carlos Ruiz Date: Fri, 16 Oct 2015 11:13:23 -0500 Subject: [PATCH] Fix wrong name scripts found on IDEMPIERE-1846 IDEMPIERE-2230 IDEMPIERE-1820 --- .../oracle/201507140000_FixWrongNameScripts.sql | 14 ++++++++++++++ ...RE-1846.sql => 201507141982-IDEMPIERE-1846.sql} | 2 +- ...RE-2230.sql => 201508141982-IDEMPIERE-2230.sql} | 2 +- ...RE-1820.sql => 201509280947_IDEMPIERE-1820.sql} | 2 +- .../201507140000_FixWrongNameScripts.sql | 14 ++++++++++++++ ...RE-1846.sql => 201507141982-IDEMPIERE-1846.sql} | 2 +- ...RE-2230.sql => 201508141982-IDEMPIERE-2230.sql} | 2 +- ...RE-1820.sql => 201509280947_IDEMPIERE-1820.sql} | 2 +- 8 files changed, 34 insertions(+), 6 deletions(-) create mode 100644 migration/i2.1z/oracle/201507140000_FixWrongNameScripts.sql rename migration/i2.1z/oracle/{201514071982-IDEMPIERE-1846.sql => 201507141982-IDEMPIERE-1846.sql} (98%) rename migration/i2.1z/oracle/{201514081982-IDEMPIERE-2230.sql => 201508141982-IDEMPIERE-2230.sql} (89%) rename migration/i2.1z/oracle/{210509280947_IDEMPIERE-1820.sql => 201509280947_IDEMPIERE-1820.sql} (83%) create mode 100644 migration/i2.1z/postgresql/201507140000_FixWrongNameScripts.sql rename migration/i2.1z/postgresql/{201514071982-IDEMPIERE-1846.sql => 201507141982-IDEMPIERE-1846.sql} (98%) rename migration/i2.1z/postgresql/{201514081982-IDEMPIERE-2230.sql => 201508141982-IDEMPIERE-2230.sql} (88%) rename migration/i2.1z/postgresql/{210509280947_IDEMPIERE-1820.sql => 201509280947_IDEMPIERE-1820.sql} (81%) diff --git a/migration/i2.1z/oracle/201507140000_FixWrongNameScripts.sql b/migration/i2.1z/oracle/201507140000_FixWrongNameScripts.sql new file mode 100644 index 0000000000..ebbb101878 --- /dev/null +++ b/migration/i2.1z/oracle/201507140000_FixWrongNameScripts.sql @@ -0,0 +1,14 @@ +update ad_migrationscript set name='201507141982-IDEMPIERE-1846.sql' where name='201514071982-IDEMPIERE-1846.sql' +; + +update ad_migrationscript set name='201508141982-IDEMPIERE-2230.sql' where name='201514081982-IDEMPIERE-2230.sql' +; + +update ad_migrationscript set name='201509280947_IDEMPIERE-1820.sql' where name='210509280947_IDEMPIERE-1820.sql' +; + +update ad_system set lastmigrationscriptapplied='201509280947_IDEMPIERE-1820.sql' where lastmigrationscriptapplied='210509280947_IDEMPIERE-1820.sql' +; +SELECT register_migration_script('201510161110_FixWrongNameScripts.sql') FROM dual +; + diff --git a/migration/i2.1z/oracle/201514071982-IDEMPIERE-1846.sql b/migration/i2.1z/oracle/201507141982-IDEMPIERE-1846.sql similarity index 98% rename from migration/i2.1z/oracle/201514071982-IDEMPIERE-1846.sql rename to migration/i2.1z/oracle/201507141982-IDEMPIERE-1846.sql index 03cd4c7cc6..d34a015d07 100644 --- a/migration/i2.1z/oracle/201514071982-IDEMPIERE-1846.sql +++ b/migration/i2.1z/oracle/201507141982-IDEMPIERE-1846.sql @@ -39,5 +39,5 @@ UPDATE AD_Field SET SeqNo=0,Updated=TO_DATE('2015-07-14 00:59:33','YYYY-MM-DD HH -- Jul 14, 2015 2:07:07 AM ICT UPDATE AD_Field SET IsUpdateable='Y',Updated=TO_DATE('2015-07-14 02:07:07','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=1000000 ; -SELECT register_migration_script('201514071982-IDEMPIERE-1846.sql') FROM dual +SELECT register_migration_script('201507141982-IDEMPIERE-1846.sql') FROM dual ; diff --git a/migration/i2.1z/oracle/201514081982-IDEMPIERE-2230.sql b/migration/i2.1z/oracle/201508141982-IDEMPIERE-2230.sql similarity index 89% rename from migration/i2.1z/oracle/201514081982-IDEMPIERE-2230.sql rename to migration/i2.1z/oracle/201508141982-IDEMPIERE-2230.sql index 6c555e70e5..aed919857d 100644 --- a/migration/i2.1z/oracle/201514081982-IDEMPIERE-2230.sql +++ b/migration/i2.1z/oracle/201508141982-IDEMPIERE-2230.sql @@ -5,6 +5,6 @@ SET DEFINE OFF -- Aug 14, 2015 6:52:36 AM WITA INSERT INTO AD_Message (MsgType,MsgText,AD_Client_ID,AD_Org_ID,IsActive,Created,CreatedBy,Updated,UpdatedBy,AD_Message_ID,Value,EntityType,AD_Message_UU) VALUES ('I','Selected {0} rows',0,0,'Y',TO_DATE('2015-08-14 06:52:36','YYYY-MM-DD HH24:MI:SS'),100,TO_DATE('2015-08-14 06:52:36','YYYY-MM-DD HH24:MI:SS'),100,200355,'IWStatusSelected','D','316251b1-093c-4f33-bf37-4d5af0f000d5') ; -SELECT register_migration_script('201514081982-IDEMPIERE-2230.sql') FROM dual +SELECT register_migration_script('201508141982-IDEMPIERE-2230.sql') FROM dual ; diff --git a/migration/i2.1z/oracle/210509280947_IDEMPIERE-1820.sql b/migration/i2.1z/oracle/201509280947_IDEMPIERE-1820.sql similarity index 83% rename from migration/i2.1z/oracle/210509280947_IDEMPIERE-1820.sql rename to migration/i2.1z/oracle/201509280947_IDEMPIERE-1820.sql index b730828a9b..db018349b8 100644 --- a/migration/i2.1z/oracle/210509280947_IDEMPIERE-1820.sql +++ b/migration/i2.1z/oracle/201509280947_IDEMPIERE-1820.sql @@ -5,5 +5,5 @@ SET DEFINE OFF -- IDEMPIERE-1820 node parameter tab (in workfow window) should hidden when not need UPDATE AD_Tab SET DisplayLogic='@Action@=P|@Action@=R',Updated=TO_DATE('2015-09-28 09:48:22','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Tab_ID=577 ; -SELECT register_migration_script('210509280947_IDEMPIERE-1820.sql') FROM dual +SELECT register_migration_script('201509280947_IDEMPIERE-1820.sql') FROM dual ; diff --git a/migration/i2.1z/postgresql/201507140000_FixWrongNameScripts.sql b/migration/i2.1z/postgresql/201507140000_FixWrongNameScripts.sql new file mode 100644 index 0000000000..ebbb101878 --- /dev/null +++ b/migration/i2.1z/postgresql/201507140000_FixWrongNameScripts.sql @@ -0,0 +1,14 @@ +update ad_migrationscript set name='201507141982-IDEMPIERE-1846.sql' where name='201514071982-IDEMPIERE-1846.sql' +; + +update ad_migrationscript set name='201508141982-IDEMPIERE-2230.sql' where name='201514081982-IDEMPIERE-2230.sql' +; + +update ad_migrationscript set name='201509280947_IDEMPIERE-1820.sql' where name='210509280947_IDEMPIERE-1820.sql' +; + +update ad_system set lastmigrationscriptapplied='201509280947_IDEMPIERE-1820.sql' where lastmigrationscriptapplied='210509280947_IDEMPIERE-1820.sql' +; +SELECT register_migration_script('201510161110_FixWrongNameScripts.sql') FROM dual +; + diff --git a/migration/i2.1z/postgresql/201514071982-IDEMPIERE-1846.sql b/migration/i2.1z/postgresql/201507141982-IDEMPIERE-1846.sql similarity index 98% rename from migration/i2.1z/postgresql/201514071982-IDEMPIERE-1846.sql rename to migration/i2.1z/postgresql/201507141982-IDEMPIERE-1846.sql index f347953f48..8a55dad654 100644 --- a/migration/i2.1z/postgresql/201514071982-IDEMPIERE-1846.sql +++ b/migration/i2.1z/postgresql/201507141982-IDEMPIERE-1846.sql @@ -36,5 +36,5 @@ UPDATE AD_Field SET SeqNo=0,Updated=TO_TIMESTAMP('2015-07-14 00:59:33','YYYY-MM- -- Jul 14, 2015 2:07:07 AM ICT UPDATE AD_Field SET IsUpdateable='Y',Updated=TO_TIMESTAMP('2015-07-14 02:07:07','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=1000000 ; -SELECT register_migration_script('201514071982-IDEMPIERE-1846.sql') FROM dual +SELECT register_migration_script('201507141982-IDEMPIERE-1846.sql') FROM dual ; diff --git a/migration/i2.1z/postgresql/201514081982-IDEMPIERE-2230.sql b/migration/i2.1z/postgresql/201508141982-IDEMPIERE-2230.sql similarity index 88% rename from migration/i2.1z/postgresql/201514081982-IDEMPIERE-2230.sql rename to migration/i2.1z/postgresql/201508141982-IDEMPIERE-2230.sql index 9a916a380e..2ad958d405 100644 --- a/migration/i2.1z/postgresql/201514081982-IDEMPIERE-2230.sql +++ b/migration/i2.1z/postgresql/201508141982-IDEMPIERE-2230.sql @@ -2,6 +2,6 @@ -- Aug 14, 2015 6:52:36 AM WITA INSERT INTO AD_Message (MsgType,MsgText,AD_Client_ID,AD_Org_ID,IsActive,Created,CreatedBy,Updated,UpdatedBy,AD_Message_ID,Value,EntityType,AD_Message_UU) VALUES ('I','Selected {0} rows',0,0,'Y',TO_TIMESTAMP('2015-08-14 06:52:36','YYYY-MM-DD HH24:MI:SS'),100,TO_TIMESTAMP('2015-08-14 06:52:36','YYYY-MM-DD HH24:MI:SS'),100,200355,'IWStatusSelected','D','316251b1-093c-4f33-bf37-4d5af0f000d5') ; -SELECT register_migration_script('201514081982-IDEMPIERE-2230.sql') FROM dual +SELECT register_migration_script('201508141982-IDEMPIERE-2230.sql') FROM dual ; diff --git a/migration/i2.1z/postgresql/210509280947_IDEMPIERE-1820.sql b/migration/i2.1z/postgresql/201509280947_IDEMPIERE-1820.sql similarity index 81% rename from migration/i2.1z/postgresql/210509280947_IDEMPIERE-1820.sql rename to migration/i2.1z/postgresql/201509280947_IDEMPIERE-1820.sql index 36ac28e251..290d6f65bf 100644 --- a/migration/i2.1z/postgresql/210509280947_IDEMPIERE-1820.sql +++ b/migration/i2.1z/postgresql/201509280947_IDEMPIERE-1820.sql @@ -2,5 +2,5 @@ -- IDEMPIERE-1820 node parameter tab (in workfow window) should hidden when not need UPDATE AD_Tab SET DisplayLogic='@Action@=P|@Action@=R',Updated=TO_TIMESTAMP('2015-09-28 09:48:22','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Tab_ID=577 ; -SELECT register_migration_script('210509280947_IDEMPIERE-1820.sql') FROM dual +SELECT register_migration_script('201509280947_IDEMPIERE-1820.sql') FROM dual ;