--- {{{ Attributes
+
CREATE SEQUENCE attributes_id_seq;
Content text,
ContentType varchar(16),
ObjectType varchar(64),
- ObjectId integer, -- foreign key to anything
+ ObjectId integer,
Creator integer NOT NULL DEFAULT 0 ,
Created TIMESTAMP NULL ,
LastUpdatedBy integer NOT NULL DEFAULT 0 ,
CREATE INDEX Attributes1 on Attributes(Name);
CREATE INDEX Attributes2 on Attributes(ObjectType, ObjectId);
--- }}}
+