From 5be6e98b648851b4bf499413810e2d787e4514ab Mon Sep 17 00:00:00 2001 From: jensp Date: Tue, 1 Oct 2013 17:37:26 +0000 Subject: [PATCH] cms_items table was not generated correctly. git-svn-id: https://svn.libreccm.org/ccm/trunk@2333 8810af33-2d31-482b-a856-94f89814c4df --- ccm-cms/pdl/com/arsdigita/content-section/ContentItem.pdl | 2 +- ccm-cms/sql/ccm-cms/default/content-section/table-cms_items.sql | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/ccm-cms/pdl/com/arsdigita/content-section/ContentItem.pdl b/ccm-cms/pdl/com/arsdigita/content-section/ContentItem.pdl index a1c9a01df..9dd8d34bd 100755 --- a/ccm-cms/pdl/com/arsdigita/content-section/ContentItem.pdl +++ b/ccm-cms/pdl/com/arsdigita/content-section/ContentItem.pdl @@ -31,7 +31,7 @@ object type ContentItem extends VersionedACSObject { String[1..1] name = cms_items.name VARCHAR(200); ContentSection[0..1] section = join cms_items.section_id to content_sections.section_id; - String[0..1] language = cms_items.language; + String[0..1] language = cms_items.language; String[0..1] additionalInfo = cms_items.additional_info VARCHAR(1024); // The 'ancestors' column contains a list of item ids of the parents diff --git a/ccm-cms/sql/ccm-cms/default/content-section/table-cms_items.sql b/ccm-cms/sql/ccm-cms/default/content-section/table-cms_items.sql index aac0b38ff..31cab94c8 100755 --- a/ccm-cms/sql/ccm-cms/default/content-section/table-cms_items.sql +++ b/ccm-cms/sql/ccm-cms/default/content-section/table-cms_items.sql @@ -36,6 +36,7 @@ create table cms_items ( constraint cms_items_version_ck check (version in ('live', 'draft', 'pending', 'archived')), language char(2), + additional_info varchar(1024), section_id integer, -- Do not add fk constraints on a denormalized column. --constraint cms_items_section_id_fk