From d28ee2e008801c15f459c6cdc00b86c18df8a81b Mon Sep 17 00:00:00 2001 From: matheus-marcelinux Date: Sun, 4 Dec 2022 04:56:01 -0300 Subject: [PATCH] IDEMPIERE-5468 - adjusting migration script with centralized IDs (#1600) * IDEMPIERE-5468 - adjusting migration script with centralized ids --- .../oracle/202211301704_IDEMPIERE-5468.sql | 22 ------------------- .../oracle/202212021220_IDEMPIERE-5468.sql | 14 ++++++++++++ .../202211301704_IDEMPIERE-5468.sql | 19 ---------------- .../202212021220_IDEMPIERE-5468.sql | 11 ++++++++++ 4 files changed, 25 insertions(+), 41 deletions(-) delete mode 100644 migration/iD10/oracle/202211301704_IDEMPIERE-5468.sql create mode 100644 migration/iD10/oracle/202212021220_IDEMPIERE-5468.sql delete mode 100644 migration/iD10/postgresql/202211301704_IDEMPIERE-5468.sql create mode 100644 migration/iD10/postgresql/202212021220_IDEMPIERE-5468.sql diff --git a/migration/iD10/oracle/202211301704_IDEMPIERE-5468.sql b/migration/iD10/oracle/202211301704_IDEMPIERE-5468.sql deleted file mode 100644 index f6fc2b9e28..0000000000 --- a/migration/iD10/oracle/202211301704_IDEMPIERE-5468.sql +++ /dev/null @@ -1,22 +0,0 @@ --- IDEMPIERE-5468 -SELECT register_migration_script('202211301704_IDEMPIERE-5468.sql') FROM dual; - -SET SQLBLANKLINES ON -SET DEFINE OFF - --- Nov 30, 2022, 5:04:32 PM BRT -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','Include selected values',0,0,'Y',TO_TIMESTAMP('2022-11-30 17:04:32','YYYY-MM-DD HH24:MI:SS'),100,TO_TIMESTAMP('2022-11-30 17:04:32','YYYY-MM-DD HH24:MI:SS'),100,1000000,'IncludeSelectedValues','U','9794b1f5-cd91-4d8d-95ba-a2f53eca1af5') -; - --- Nov 30, 2022, 5:04:49 PM BRT -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','Exclude selected values',0,0,'Y',TO_TIMESTAMP('2022-11-30 17:04:49','YYYY-MM-DD HH24:MI:SS'),100,TO_TIMESTAMP('2022-11-30 17:04:49','YYYY-MM-DD HH24:MI:SS'),100,1000001,'ExcludeSelectedValues','U','439b142f-26ab-4224-8e38-d42fc3757750') -; - --- Nov 30, 2022, 5:04:54 PM BRT -UPDATE AD_Message SET EntityType='D',Updated=TO_TIMESTAMP('2022-11-30 17:04:54','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Message_ID=1000001 -; - --- Nov 30, 2022, 5:05:08 PM BRT -UPDATE AD_Message SET EntityType='D',Updated=TO_TIMESTAMP('2022-11-30 17:05:08','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Message_ID=1000000 -; - diff --git a/migration/iD10/oracle/202212021220_IDEMPIERE-5468.sql b/migration/iD10/oracle/202212021220_IDEMPIERE-5468.sql new file mode 100644 index 0000000000..ca15598677 --- /dev/null +++ b/migration/iD10/oracle/202212021220_IDEMPIERE-5468.sql @@ -0,0 +1,14 @@ +-- IDEMPIERE-5468 +SELECT register_migration_script('202212021220_IDEMPIERE-5468.sql') FROM dual; + +SET SQLBLANKLINES ON +SET DEFINE OFF + +-- Dec 2, 2022, 12:20:53 PM BRT +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','Exclude selected values',0,0,'Y',TO_TIMESTAMP('2022-12-02 12:20:52','YYYY-MM-DD HH24:MI:SS'),100,TO_TIMESTAMP('2022-12-02 12:20:52','YYYY-MM-DD HH24:MI:SS'),100,200804,'ExcludeSelectedValues','D','dce25756-d58c-42a1-a414-2bcf0efc5452') +; + +-- Dec 2, 2022, 12:21:08 PM BRT +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','Include selected values',0,0,'Y',TO_TIMESTAMP('2022-12-02 12:21:07','YYYY-MM-DD HH24:MI:SS'),100,TO_TIMESTAMP('2022-12-02 12:21:07','YYYY-MM-DD HH24:MI:SS'),100,200805,'IncludeSelectedValues','D','09414e7f-d31b-4a0f-831c-8ec50992961b') +; + diff --git a/migration/iD10/postgresql/202211301704_IDEMPIERE-5468.sql b/migration/iD10/postgresql/202211301704_IDEMPIERE-5468.sql deleted file mode 100644 index e69184da91..0000000000 --- a/migration/iD10/postgresql/202211301704_IDEMPIERE-5468.sql +++ /dev/null @@ -1,19 +0,0 @@ --- IDEMPIERE-5468 -SELECT register_migration_script('202211301704_IDEMPIERE-5468.sql') FROM dual; - --- Nov 30, 2022, 5:04:32 PM BRT -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','Include selected values',0,0,'Y',TO_TIMESTAMP('2022-11-30 17:04:32','YYYY-MM-DD HH24:MI:SS'),100,TO_TIMESTAMP('2022-11-30 17:04:32','YYYY-MM-DD HH24:MI:SS'),100,1000000,'IncludeSelectedValues','U','9794b1f5-cd91-4d8d-95ba-a2f53eca1af5') -; - --- Nov 30, 2022, 5:04:49 PM BRT -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','Exclude selected values',0,0,'Y',TO_TIMESTAMP('2022-11-30 17:04:49','YYYY-MM-DD HH24:MI:SS'),100,TO_TIMESTAMP('2022-11-30 17:04:49','YYYY-MM-DD HH24:MI:SS'),100,1000001,'ExcludeSelectedValues','U','439b142f-26ab-4224-8e38-d42fc3757750') -; - --- Nov 30, 2022, 5:04:54 PM BRT -UPDATE AD_Message SET EntityType='D',Updated=TO_TIMESTAMP('2022-11-30 17:04:54','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Message_ID=1000001 -; - --- Nov 30, 2022, 5:05:08 PM BRT -UPDATE AD_Message SET EntityType='D',Updated=TO_TIMESTAMP('2022-11-30 17:05:08','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Message_ID=1000000 -; - diff --git a/migration/iD10/postgresql/202212021220_IDEMPIERE-5468.sql b/migration/iD10/postgresql/202212021220_IDEMPIERE-5468.sql new file mode 100644 index 0000000000..2ca2899c4a --- /dev/null +++ b/migration/iD10/postgresql/202212021220_IDEMPIERE-5468.sql @@ -0,0 +1,11 @@ +-- IDEMPIERE-5468 +SELECT register_migration_script('202212021220_IDEMPIERE-5468.sql') FROM dual; + +-- Dec 2, 2022, 12:20:53 PM BRT +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','Exclude selected values',0,0,'Y',TO_TIMESTAMP('2022-12-02 12:20:52','YYYY-MM-DD HH24:MI:SS'),100,TO_TIMESTAMP('2022-12-02 12:20:52','YYYY-MM-DD HH24:MI:SS'),100,200804,'ExcludeSelectedValues','D','dce25756-d58c-42a1-a414-2bcf0efc5452') +; + +-- Dec 2, 2022, 12:21:08 PM BRT +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','Include selected values',0,0,'Y',TO_TIMESTAMP('2022-12-02 12:21:07','YYYY-MM-DD HH24:MI:SS'),100,TO_TIMESTAMP('2022-12-02 12:21:07','YYYY-MM-DD HH24:MI:SS'),100,200805,'IncludeSelectedValues','D','09414e7f-d31b-4a0f-831c-8ec50992961b') +; +