mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-01 14:30:32 +02:00
[feature/oauth] Use DB for OAuth token storage
PHPBB3-11673
This commit is contained in:
@@ -923,6 +923,15 @@ function get_schema_struct()
|
||||
),
|
||||
);
|
||||
|
||||
$schemda_data['auth_provider_oauth'] = array(
|
||||
'COLUMNS' => array(
|
||||
'user_id' => array('UINT', 0), // phpbb_users.user_id
|
||||
'oauth_provider' => array('VCHAR'), // Name of the OAuth provider
|
||||
'oauth_token' => array('TEXT_UNI'), // Serialized token
|
||||
),
|
||||
'PRIMARY_KEY' => array('user_id', 'oauth_provider'),
|
||||
);
|
||||
|
||||
$schema_data['phpbb_banlist'] = array(
|
||||
'COLUMNS' => array(
|
||||
'ban_id' => array('UINT', NULL, 'auto_increment'),
|
||||
|
Reference in New Issue
Block a user