diff options
Diffstat (limited to 'modules/user/user.install')
-rw-r--r-- | modules/user/user.install | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/modules/user/user.install b/modules/user/user.install index 6cc5d144d..0bff646bb 100644 --- a/modules/user/user.install +++ b/modules/user/user.install @@ -160,6 +160,13 @@ function user_schema() { 'default' => '', 'description' => "User's signature.", ), + 'signature_format' => array( + 'type' => 'int', + 'size' => 'small', + 'not null' => TRUE, + 'default' => 0, + 'description' => 'The {filter_format}.format of the signature.', + ), 'created' => array( 'type' => 'int', 'not null' => TRUE, @@ -228,6 +235,9 @@ function user_schema() { 'name' => array('name'), ), 'primary key' => array('uid'), + 'foreign keys' => array( + 'signature_format' => array('filter_format' => 'format'), + ), ); $schema['users_roles'] = array( |