function _oauth_common_oauth_authorization_levels_6001 in OAuth 1.0 6.3
1 call to _oauth_common_oauth_authorization_levels_6001()
- _oauth_common_update_6001 in updates/
update.6001.inc - This update either creates a authorization levels table, or transfers the authorization levels table from the services_oauth module.
File
- updates/
update.6001.inc, line 18
Code
function _oauth_common_oauth_authorization_levels_6001() {
return array(
'description' => t('Stores the different authorization levels that are available for access tokens.'),
'fields' => array(
'name' => array(
'description' => t('The computer-readable name of the authorization level.'),
'type' => 'varchar',
'length' => 32,
'not null' => TRUE,
),
'title' => array(
'description' => t('The localizable title of the authorization level.'),
'type' => 'varchar',
'length' => 100,
'not null' => TRUE,
),
'description' => array(
'description' => t('The localizable description of the authorization level.'),
'type' => 'varchar',
'length' => 255,
'not null' => TRUE,
),
),
'primary key' => array(
'name',
),
);
}