You are here

function oauth2_server_update_7107 in OAuth2 Server 7

Add the {oauth2_server_token}.created field.

File

./oauth2_server.install, line 493

Code

function oauth2_server_update_7107() {
  $spec = array(
    'description' => 'The Unix timestamp when the token was created.',
    'type' => 'int',
    'not null' => TRUE,
    'default' => 0,
  );
  db_add_field('oauth2_server_token', 'created', $spec);
}