From 1b5faf1c4e264c396b8945cc192b04f99b6f9f1d Mon Sep 17 00:00:00 2001 From: Evan Prodromou Date: Fri, 4 Mar 2011 16:41:17 -0500 Subject: [PATCH] correct length and default value for object_type --- db/core.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/db/core.php b/db/core.php index 62730b853f..16a59462d4 100644 --- a/db/core.php +++ b/db/core.php @@ -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(