You are here

function feeds_oauth_update_7003 in Feeds OAuth 7

Enlarge size of oauth_token and oauth_token_secret.

File

./feeds_oauth.install, line 128
Install schema and updates.

Code

function feeds_oauth_update_7003() {
  $schema = feeds_oauth_schema();
  db_change_field('feeds_oauth_access_tokens', 'oauth_token', 'oauth_token', $schema['feeds_oauth_access_tokens']['fields']['oauth_token']);
  db_change_field('feeds_oauth_access_tokens', 'oauth_token_secret', 'oauth_token_secret', $schema['feeds_oauth_access_tokens']['fields']['oauth_token_secret']);
}