registered_user_id can be null
This commit is contained in:
parent
cb283be071
commit
b0b8d36439
@ -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
|
||||
|
@ -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(
|
||||
|
Loading…
Reference in New Issue
Block a user