From 8138d6bf2451410e92ec8ea467db9f8bd8adab67 Mon Sep 17 00:00:00 2001 From: Carlos Ruiz Date: Fri, 13 Mar 2009 20:59:14 +0000 Subject: [PATCH] Postgres error in revision 8719 ERROR: cannot change number of columns in view --- migration/353a-trunk/postgresql/434_BF2685973.sql | 2 ++ 1 file changed, 2 insertions(+) diff --git a/migration/353a-trunk/postgresql/434_BF2685973.sql b/migration/353a-trunk/postgresql/434_BF2685973.sql index 8bded14ee5..935586ff6d 100644 --- a/migration/353a-trunk/postgresql/434_BF2685973.sql +++ b/migration/353a-trunk/postgresql/434_BF2685973.sql @@ -35,6 +35,8 @@ INSERT INTO AD_Column (Created,CreatedBy,Updated,Version,IsActive,AD_Reference_I INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=56915 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID) ; +DROP VIEW RV_COST; + CREATE OR REPLACE VIEW RV_COST (AD_CLIENT_ID, AD_ORG_ID, ISACTIVE, CREATED, CREATEDBY, UPDATED, UPDATEDBY, M_PRODUCT_ID, VALUE, NAME,