function oauth2_server_update_7104 in OAuth2 Server 7
Adds the {oauth2_server_token}.last_access field.
File
- ./
oauth2_server.install, line 432
Code
function oauth2_server_update_7104() {
$spec = array(
'description' => 'The Unix timestamp when the token was last used.',
'type' => 'int',
'not null' => TRUE,
'default' => 0,
);
db_add_field('oauth2_server_token', 'last_access', $spec);
}