aboutsummaryrefslogtreecommitdiff
path: root/classes/Conversation.php
diff options
context:
space:
mode:
authorMikael Nordfeldth <mmn@hethane.se>2013-08-21 14:33:45 +0200
committerMikael Nordfeldth <mmn@hethane.se>2013-08-21 15:02:44 +0200
commit40fe10e0021c4d3df779cfdb9ebdd9fd9def4850 (patch)
treeedcfbf2544c2f465173897a1f9e478847267672f /classes/Conversation.php
parent4fab7a9d8b5bc6d85b74b8b2574bb8167129fe39 (diff)
downloadgnu-social-40fe10e0021c4d3df779cfdb9ebdd9fd9def4850.tar
gnu-social-40fe10e0021c4d3df779cfdb9ebdd9fd9def4850.zip
Woops, forgot auto_increment (comes with 'serial')
There are still some classes not ported (like Yammer import)
Diffstat (limited to 'classes/Conversation.php')
-rwxr-xr-xclasses/Conversation.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/classes/Conversation.php b/classes/Conversation.php
index 547a553d3b..23f8dada0b 100755
--- a/classes/Conversation.php
+++ b/classes/Conversation.php
@@ -36,7 +36,7 @@ class Conversation extends Managed_DataObject
public $__table = 'conversation'; // table name
public $id; // int(4) primary_key not_null
- public $uri; // varchar(225) unique_key
+ public $uri; // varchar(255) unique_key
public $created; // datetime not_null
public $modified; // timestamp not_null default_CURRENT_TIMESTAMP
@@ -48,7 +48,7 @@ class Conversation extends Managed_DataObject
return array(
'fields' => array(
'id' => array('type' => 'serial', 'not null' => true, 'description' => 'unique identifier'),
- 'uri' => array('type' => 'varchar', 'length' => 225, 'description' => 'URI of the conversation'),
+ 'uri' => array('type' => 'varchar', 'length' => 255, 'description' => 'URI of the conversation'),
'created' => array('type' => 'datetime', 'not null' => true, 'description' => 'date this record was created'),
'modified' => array('type' => 'timestamp', 'not null' => true, 'description' => 'date this record was modified'),
),