From 8a4575ea769cb0349645f1ecfb4e7e66e4cf8d4b Mon Sep 17 00:00:00 2001 From: Mikael Nordfeldth Date: Thu, 27 Nov 2014 14:15:42 +0100 Subject: [PATCH] Conversation URI cannot be null --- classes/Conversation.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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'), ), -- 2.39.5