You are here

function oauth2_server_update_7103 in OAuth2 Server 7

Convert the {oauth2_server_client}.redirect_uri field from varchar to text.

File

./oauth2_server.install, line 420

Code

function oauth2_server_update_7103() {
  $spec = array(
    'description' => 'The absolute URI to redirect to after authorization',
    'type' => 'text',
    'not null' => TRUE,
  );
  db_change_field('oauth2_server_client', 'redirect_uri', 'redirect_uri', $spec);
}