[Rt-commit] rt branch, 4.0/sqlite-schema-defaults, updated. rt-4.0.5-113-ge5fdaea

Thomas Sibley trs at bestpractical.com
Mon Apr 30 10:03:55 EDT 2012


The branch, 4.0/sqlite-schema-defaults has been updated
       via  e5fdaeae06f2aa3c220351164dacee728201eb01 (commit)
      from  67af223a4ceca7cd6693c3e187d7f2db74fb1146 (commit)

Summary of changes:
 etc/schema.SQLite |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

- Log -----------------------------------------------------------------
commit e5fdaeae06f2aa3c220351164dacee728201eb01
Author: Thomas Sibley <trs at bestpractical.com>
Date:   Mon Apr 30 10:03:42 2012 -0400

    Clean up some other SQLite defaults missed by the previous commit

diff --git a/etc/schema.SQLite b/etc/schema.SQLite
index 02b5778..6897be2 100755
--- a/etc/schema.SQLite
+++ b/etc/schema.SQLite
@@ -270,8 +270,8 @@ CREATE INDEX Users4 ON Users (EmailAddress);
 
 CREATE TABLE Tickets (
   id INTEGER PRIMARY KEY  ,
-  EffectiveId integer NULL  ,
-  Queue integer NULL  ,
+  EffectiveId integer NULL DEFAULT 0 ,
+  Queue integer NULL DEFAULT 0 ,
   Type varchar(16) NULL  ,
   IssueStatement integer NULL DEFAULT 0 ,
   Resolution integer NULL DEFAULT 0 ,
@@ -437,7 +437,7 @@ CREATE TABLE Attributes (
   Content LONGTEXT NULL  ,
   ContentType varchar(16),
   ObjectType varchar(25) NOT NULL  ,
-  ObjectId INTEGER default 0,
+  ObjectId INTEGER ,
   Creator integer NULL DEFAULT 0 ,
   Created DATETIME NULL  ,
   LastUpdatedBy integer NULL DEFAULT 0 ,

-----------------------------------------------------------------------


More information about the Rt-commit mailing list