aboutsummaryrefslogtreecommitdiff
path: root/db
diff options
context:
space:
mode:
authorEvan Prodromou <evan@status.net>2011-03-04 16:41:17 -0500
committerEvan Prodromou <evan@status.net>2011-03-07 03:34:20 -0500
commit1b5faf1c4e264c396b8945cc192b04f99b6f9f1d (patch)
tree441e33bad014b55cec138841e6f5494601658be5 /db
parenta0e2ebec8fa614f7c0f3a1942cb47ca04aaca80e (diff)
downloadgnu-social-1b5faf1c4e264c396b8945cc192b04f99b6f9f1d.tar
gnu-social-1b5faf1c4e264c396b8945cc192b04f99b6f9f1d.zip
correct length and default value for object_type
Diffstat (limited to 'db')
-rw-r--r--db/core.php2
1 files changed, 1 insertions, 1 deletions
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(