From b0b8d36439669bab3944a946f87b56938369df53 Mon Sep 17 00:00:00 2001 From: Evan Prodromou Date: Mon, 23 May 2011 17:23:54 -0400 Subject: [PATCH] registered_user_id can be null --- classes/statusnet.ini | 2 +- db/core.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/classes/statusnet.ini b/classes/statusnet.ini index 017c4dd58e..c5c126a133 100644 --- a/classes/statusnet.ini +++ b/classes/statusnet.ini @@ -258,7 +258,7 @@ user_id = 129 address = 130 address_type = 130 created = 142 -registered_user_id = 129 +registered_user_id = 1 [invitation__keys] code = K diff --git a/db/core.php b/db/core.php index f8e4af9843..626672bf5f 100644 --- a/db/core.php +++ b/db/core.php @@ -542,7 +542,7 @@ $schema['invitation'] = array( 'address' => array('type' => 'varchar', 'length' => 255, 'not null' => true, 'description' => 'invitation sent to'), 'address_type' => array('type' => 'varchar', 'length' => 8, 'not null' => true, 'description' => 'address type ("email", "xmpp", "sms")'), 'created' => array('type' => 'datetime', 'not null' => true, 'description' => 'date this record was created'), - 'registered_user_id' => array('type' => 'int', 'not null' => true, 'description' => 'if the invitation is converted, who the new user is'), + 'registered_user_id' => array('type' => 'int', 'not null' => false, 'description' => 'if the invitation is converted, who the new user is'), ), 'primary key' => array('code'), 'foreign keys' => array( -- 2.39.5