]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - db/core.php
registered_user_id can be null
[quix0rs-gnu-social.git] / db / core.php
index f8e4af9843cf360506edc9cdd07d07bc809baed9..626672bf5fea3e5bdc5428c3652c534ed8d013c9 100644 (file)
@@ -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(