Author: david
Date: Wed Jul  4 13:36:46 2012
New Revision: 11848

Log:
Increase width of digital_object.path to 1024 chars.  Cosmetic changes

Modified:
   trunk/config/schema.yml
   trunk/data/sql/lib.model.schema.sql

Modified: trunk/config/schema.yml
==============================================================================
--- trunk/config/schema.yml     Wed Jul  4 13:31:40 2012        (r11847)
+++ trunk/config/schema.yml     Wed Jul  4 13:36:46 2012        (r11848)
@@ -53,14 +53,14 @@
     id: { type: integer, required: true, primaryKey: true, foreignTable: 
object, foreignReference: id, onDelete: cascade, inheritanceKey: true }
     information_object_id:
     usage_id: { type: integer, foreignTable: term, foreignReference: id, 
onDelete: setnull }
-    mime_type: { type: varchar(50) }
+    mime_type: varchar(50)
     media_type_id: { type: integer, foreignTable: term, foreignReference: id, 
onDelete: setnull }
-    name: varchar(1024) not null
-    path: varchar(1000) not null
+    name: { type: varchar(1024), required: true }
+    path: { type: varchar(1024), required: true }
     sequence: integer
     byte_size: integer
     checksum: varchar(255)
-    checksum_type: { type: varchar(50) }
+    checksum_type: type: varchar(50)
     parent_id: { type: integer, foreignTable: digital_object, 
foreignReference: id }
     lft: { type: integer, required: true, nestedSetLeftKey: true }
     rgt: { type: integer, required: true, nestedSetRightKey: true }

Modified: trunk/data/sql/lib.model.schema.sql
==============================================================================
--- trunk/data/sql/lib.model.schema.sql Wed Jul  4 13:31:40 2012        (r11847)
+++ trunk/data/sql/lib.model.schema.sql Wed Jul  4 13:36:46 2012        (r11848)
@@ -150,8 +150,8 @@
        `usage_id` INTEGER,
        `mime_type` VARCHAR(50),
        `media_type_id` INTEGER,
-       `name` VARCHAR(1024),
-       `path` VARCHAR(1000),
+       `name` VARCHAR(1024)  NOT NULL,
+       `path` VARCHAR(1024)  NOT NULL,
        `sequence` INTEGER,
        `byte_size` INTEGER,
        `checksum` VARCHAR(255),

-- 
You received this message because you are subscribed to the Google Groups 
"Qubit Toolkit Commits" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/qubit-commits?hl=en.

Reply via email to