diff --git a/migration/360lts-release/oracle/841_IDEMPIERE-254.sql b/migration/360lts-release/oracle/841_IDEMPIERE-254.sql index ad4feb522b..79228ad6f6 100644 --- a/migration/360lts-release/oracle/841_IDEMPIERE-254.sql +++ b/migration/360lts-release/oracle/841_IDEMPIERE-254.sql @@ -395,7 +395,24 @@ INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Clien -- May 25, 2012 4:25:56 PM MYT -- IDEMPIERE-254 2Pack Stabilization and Enhancement -ALTER TABLE AD_Package_Imp_Proc ADD Name NVARCHAR2(60) NOT NULL +-- ALTER TABLE AD_Package_Imp_Proc ADD Name NVARCHAR2(60) NOT NULL +-- Changed to cover the case where the AD_Package_Imp_Proc table has rows as noted by Daniel Tamn + +-- Aug 19, 2012 10:42:12 AM COT +-- IDEMPIERE-254 2Pack Stabilization and Enhancement +ALTER TABLE AD_Package_Imp_Proc ADD Name NVARCHAR2(60) DEFAULT NULL +; + +UPDATE AD_Package_Imp_Proc SET Name='Default'; + +-- Aug 19, 2012 10:42:29 AM COT +-- IDEMPIERE-254 2Pack Stabilization and Enhancement +ALTER TABLE AD_Package_Imp_Proc MODIFY Name NVARCHAR2(60) +; + +-- Aug 19, 2012 10:42:29 AM COT +-- IDEMPIERE-254 2Pack Stabilization and Enhancement +ALTER TABLE AD_Package_Imp_Proc MODIFY Name NOT NULL ; -- May 25, 2012 4:26:38 PM MYT diff --git a/migration/360lts-release/postgresql/841_IDEMPIERE-254.sql b/migration/360lts-release/postgresql/841_IDEMPIERE-254.sql index d5e8bd2831..1876f99f90 100644 --- a/migration/360lts-release/postgresql/841_IDEMPIERE-254.sql +++ b/migration/360lts-release/postgresql/841_IDEMPIERE-254.sql @@ -395,7 +395,24 @@ INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Clien -- May 25, 2012 4:25:56 PM MYT -- IDEMPIERE-254 2Pack Stabilization and Enhancement -ALTER TABLE AD_Package_Imp_Proc ADD COLUMN Name VARCHAR(60) NOT NULL +-- ALTER TABLE AD_Package_Imp_Proc ADD COLUMN Name VARCHAR(60) NOT NULL +-- Changed to cover the case where the AD_Package_Imp_Proc table has rows as noted by Daniel Tamn + +-- Aug 19, 2012 10:42:12 AM COT +-- IDEMPIERE-254 2Pack Stabilization and Enhancement +ALTER TABLE AD_Package_Imp_Proc ADD COLUMN Name VARCHAR(60) DEFAULT NULL +; + +UPDATE AD_Package_Imp_Proc SET Name='Default'; + +-- Aug 19, 2012 10:42:29 AM COT +-- IDEMPIERE-254 2Pack Stabilization and Enhancement +INSERT INTO t_alter_column values('ad_package_imp_proc','Name','VARCHAR(60)',null,null) +; + +-- Aug 19, 2012 10:42:29 AM COT +-- IDEMPIERE-254 2Pack Stabilization and Enhancement +INSERT INTO t_alter_column values('ad_package_imp_proc','Name',null,'NOT NULL',null) ; -- May 25, 2012 4:26:38 PM MYT