IDEMPIERE-5468 - adjusting migration script with centralized IDs (#1600)

* IDEMPIERE-5468 - adjusting migration script with centralized ids
This commit is contained in:
matheus-marcelinux 2022-12-04 04:56:01 -03:00 committed by GitHub
parent 23735316f9
commit d28ee2e008
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 25 additions and 41 deletions

View File

@ -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
;

View File

@ -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')
;

View File

@ -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
;

View File

@ -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')
;