diff options
Diffstat (limited to 'rt/etc/upgrade/3.1.0/schema.SQLite')
-rw-r--r-- | rt/etc/upgrade/3.1.0/schema.SQLite | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/rt/etc/upgrade/3.1.0/schema.SQLite b/rt/etc/upgrade/3.1.0/schema.SQLite new file mode 100644 index 000000000..87a1cc47f --- /dev/null +++ b/rt/etc/upgrade/3.1.0/schema.SQLite @@ -0,0 +1,20 @@ +--- {{{ Attributes +CREATE TABLE Attributes ( + id INTEGER PRIMARY KEY , + Name varchar(255) NOT NULL , + Description varchar(255) NULL , + Content LONGTEXT NULL , + ContentType varchar(16), + ObjectType varchar(25) NOT NULL , + ObjectId INTEGER default 0, + Creator integer NULL , + Created DATETIME NULL , + LastUpdatedBy integer NULL , + LastUpdated DATETIME NULL + +) ; +CREATE INDEX Attributes1 on Attributes(Name) +CREATE INDEX Attributes2 on Attributes(ObjectType, ObjectId); + +--- }}} + |