update.6003.inc in OAuth 1.0 6.3
File
updates/update.6003.inc
View source
<?php
function _oauth_common_update_6003() {
$ret = array();
db_add_field($ret, 'oauth_common_token', 'provider_token', array(
'description' => t('Whether this is a consumer or a provider token'),
'type' => 'int',
'size' => 'tiny',
'unsigned' => TRUE,
'not null' => TRUE,
'default' => 1,
));
db_add_field($ret, 'oauth_common_consumer', 'provider_consumer', array(
'description' => t('Whether this is a provider consumer or a consumer consumer'),
'type' => 'int',
'size' => 'tiny',
'unsigned' => TRUE,
'not null' => TRUE,
'default' => 1,
));
return $ret;
}
Functions
Name |
Description |
_oauth_common_update_6003 |
This update makes it possible for consumers to store tokens in the common
token table. It also adds the possibility to add consumer-consumers to the
common consumer table. |