Author: david
Date: Tue May 17 16:52:17 2011
New Revision: 9107

Log:
Use varchar(255) for source/target columns. Index length must be limited to N 
characters, so force a length on column

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

Modified: trunk/config/schema.yml
==============================================================================
--- trunk/config/schema.yml     Tue May 17 16:46:44 2011        (r9106)
+++ trunk/config/schema.yml     Tue May 17 16:52:17 2011        (r9107)
@@ -151,8 +151,8 @@
   keymap:
     source_id: { type: integer, index: true }
     target_id: { type: integer, index: true }
-    source: { type: longvarchar, index: true }
-    target: { type: longvarchar, index: true }
+    source: { type: varchar(255), index: true }
+    target: { type: varchar(255), index: true }
 
   map:
     created_at:

Modified: trunk/data/sql/lib.model.schema.sql
==============================================================================
--- trunk/data/sql/lib.model.schema.sql Tue May 17 16:46:44 2011        (r9106)
+++ trunk/data/sql/lib.model.schema.sql Tue May 17 16:52:17 2011        (r9107)
@@ -453,8 +453,8 @@
 (
        `source_id` INTEGER,
        `target_id` INTEGER,
-       `source` TEXT,
-       `target` TEXT,
+       `source` VARCHAR(255),
+       `target` VARCHAR(255),
        `id` INTEGER  NOT NULL AUTO_INCREMENT,
        `serial_number` INTEGER default 0 NOT NULL,
        PRIMARY KEY (`id`),

-- 
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