aboutsummaryrefslogtreecommitdiff
path: root/classes/Conversation.php
diff options
context:
space:
mode:
authorMikael Nordfeldth <mmn@hethane.se>2014-11-27 14:15:42 +0100
committerMikael Nordfeldth <mmn@hethane.se>2014-11-27 14:15:42 +0100
commit8a4575ea769cb0349645f1ecfb4e7e66e4cf8d4b (patch)
tree9d81b8ba29c7f3286643c994dc4b585842bc02d5 /classes/Conversation.php
parentbdb4a4169677b326fc20fd63777c91bdacb48a01 (diff)
downloadgnu-social-8a4575ea769cb0349645f1ecfb4e7e66e4cf8d4b.tar
gnu-social-8a4575ea769cb0349645f1ecfb4e7e66e4cf8d4b.zip
Conversation URI cannot be null
Diffstat (limited to 'classes/Conversation.php')
-rw-r--r--classes/Conversation.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/classes/Conversation.php b/classes/Conversation.php
index c8d922a2f0..fde9c07adb 100644
--- a/classes/Conversation.php
+++ b/classes/Conversation.php
@@ -44,7 +44,7 @@ class Conversation extends Managed_DataObject
return array(
'fields' => array(
'id' => array('type' => 'int', 'not null' => true, 'description' => 'should be set from root notice id (since 2014-03-01 commit)'),
- 'uri' => array('type' => 'varchar', 'length' => 255, 'description' => 'URI of the conversation'),
+ 'uri' => array('type' => 'varchar', 'not null'=>true, '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'),
),