cms_items table was not generated correctly.
git-svn-id: https://svn.libreccm.org/ccm/trunk@2333 8810af33-2d31-482b-a856-94f89814c4dfmaster
parent
e9d377ec4b
commit
5be6e98b64
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue