diff options
author | Joseph Warner <hardolaf@hardolaf.com> | 2013-07-23 22:15:53 -0400 |
---|---|---|
committer | Joseph Warner <hardolaf@hardolaf.com> | 2013-07-23 22:16:09 -0400 |
commit | e60f4bc88b32465b1d31049f2eb14b1793747dc6 (patch) | |
tree | 80918d17ebe165c57a17fc6446b24d0e1ec9916b /phpBB/develop/create_schema_files.php | |
parent | 8d568dae7116ac05eda593835d99e6e6f22dc9f7 (diff) | |
download | forums-e60f4bc88b32465b1d31049f2eb14b1793747dc6.tar forums-e60f4bc88b32465b1d31049f2eb14b1793747dc6.tar.gz forums-e60f4bc88b32465b1d31049f2eb14b1793747dc6.tar.bz2 forums-e60f4bc88b32465b1d31049f2eb14b1793747dc6.tar.xz forums-e60f4bc88b32465b1d31049f2eb14b1793747dc6.zip |
[feature/oauth] Finalize schema changes
PHPBB3-11673
Diffstat (limited to 'phpBB/develop/create_schema_files.php')
-rw-r--r-- | phpBB/develop/create_schema_files.php | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/phpBB/develop/create_schema_files.php b/phpBB/develop/create_schema_files.php index 2cfe336511..af6e959b98 100644 --- a/phpBB/develop/create_schema_files.php +++ b/phpBB/develop/create_schema_files.php @@ -923,28 +923,28 @@ function get_schema_struct() ), ); - $schemda_data['auth_provider_oauth_token_storage'] = array( + $schema_data['phpbb_oauth_tokens'] = array( 'COLUMNS' => array( 'user_id' => array('UINT', 0), // phpbb_users.user_id 'session_id' => array('CHAR:32', ''), // phpbb_sessions.session_id used only when user_id not set - 'oauth_provider' => array('VCHAR'), // Name of the OAuth provider + 'provider' => array('VCHAR'), // Name of the OAuth provider 'oauth_token' => array('TEXT_UNI'), // Serialized token ), 'KEYS' => array( 'user_id' => array('INDEX', 'user_id'), - 'oauth_provider' => array('INDEX', 'oauth_provider'), + 'provider' => array('INDEX', 'oauth_provider'), ), ); - $schemda_data['auth_provider_oauth_account_assoc'] = array( + $schema_data['phpbb_oauth_accounts'] = array( 'COLUMNS' => array( 'user_id' => array('UINT', 0), - 'oauth_provider' => array('VCHAR'), + 'provider' => array('VCHAR'), 'oauth_provider_id' => array('TEXT_UNI'), ), 'PRIMARY_KEY' => array( 'user_id', - 'oauth_provider', + 'provider', ), ); |