]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
correct length and default value for object_type
authorEvan Prodromou <evan@status.net>
Fri, 4 Mar 2011 21:41:17 +0000 (16:41 -0500)
committerEvan Prodromou <evan@status.net>
Fri, 4 Mar 2011 21:41:17 +0000 (16:41 -0500)
db/core.php

index 62730b853f7e8ed61845f205bb8f1bde02f815f7..16a59462d491bd2f884f3c454858486185e86331 100644 (file)
@@ -201,7 +201,7 @@ $schema['notice'] = array(
         'location_id' => array('type' => 'int', 'description' => 'location id if possible'),
         'location_ns' => array('type' => 'int', 'description' => 'namespace for location'),
         'repeat_of' => array('type' => 'int', 'description' => 'notice this is a repeat of'),
-        'object_type' => array('type' => 'varchar', 'length' => 32, 'description' => 'URI representing activity streams object type'),
+        'object_type' => array('type' => 'varchar', 'length' => 255, 'description' => 'URI representing activity streams object type', 'default' => 'http://activitystrea.ms/schema/1.0/note'),
     ),
     'primary key' => array('id'),
     'unique keys' => array(