diff --git a/migration/360lts-release/oracle/823_IDEMPIERE-178.sql b/migration/360lts-release/oracle/823_IDEMPIERE-178.sql index ef6f5031e5..2a43a512ac 100644 --- a/migration/360lts-release/oracle/823_IDEMPIERE-178.sql +++ b/migration/360lts-release/oracle/823_IDEMPIERE-178.sql @@ -82,3 +82,8 @@ INSERT INTO AD_Message_Trl (AD_Language,AD_Message_ID, MsgText,MsgTip, IsTransla UPDATE AD_Message_Trl SET IsTranslated='Y',MsgText='En este documento se debe diligenciar el cargo o el producto',Updated=TO_DATE('2012-03-07 15:18:43','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Message_ID=200003 AND AD_Language LIKE 'es_%' ; +UPDATE AD_System + SET LastMigrationScriptApplied='823_IDEMPIERE-178.sql' +WHERE LastMigrationScriptApplied<'823_IDEMPIERE-178.sql' + OR LastMigrationScriptApplied IS NULL +; diff --git a/migration/360lts-release/postgresql/823_IDEMPIERE-178.sql b/migration/360lts-release/postgresql/823_IDEMPIERE-178.sql index b1e1aede6a..6b712ee109 100644 --- a/migration/360lts-release/postgresql/823_IDEMPIERE-178.sql +++ b/migration/360lts-release/postgresql/823_IDEMPIERE-178.sql @@ -82,3 +82,8 @@ INSERT INTO AD_Message_Trl (AD_Language,AD_Message_ID, MsgText,MsgTip, IsTransla UPDATE AD_Message_Trl SET IsTranslated='Y',MsgText='En este documento se debe diligenciar el cargo o el producto',Updated=TO_TIMESTAMP('2012-03-07 15:18:43','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Message_ID=200003 AND AD_Language LIKE 'es_%' ; +UPDATE AD_System + SET LastMigrationScriptApplied='823_IDEMPIERE-178.sql' +WHERE LastMigrationScriptApplied<'823_IDEMPIERE-178.sql' + OR LastMigrationScriptApplied IS NULL +;