aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/phpbb/db
diff options
context:
space:
mode:
authorJoseph Warner <hardolaf@hardolaf.com>2013-07-23 22:18:41 -0400
committerJoseph Warner <hardolaf@hardolaf.com>2013-07-23 22:18:56 -0400
commit2483efe9a34df48a82bcceff5f966881fea2a37e (patch)
treebd72b27bab75dc25284d39c2322d2307f8d06805 /phpBB/phpbb/db
parente60f4bc88b32465b1d31049f2eb14b1793747dc6 (diff)
downloadforums-2483efe9a34df48a82bcceff5f966881fea2a37e.tar
forums-2483efe9a34df48a82bcceff5f966881fea2a37e.tar.gz
forums-2483efe9a34df48a82bcceff5f966881fea2a37e.tar.bz2
forums-2483efe9a34df48a82bcceff5f966881fea2a37e.tar.xz
forums-2483efe9a34df48a82bcceff5f966881fea2a37e.zip
[feature/oauth] Actual final schema changes
PHPBB3-11673
Diffstat (limited to 'phpBB/phpbb/db')
-rw-r--r--phpBB/phpbb/db/migration/data/310/auth_provider_oauth.php10
1 files changed, 5 insertions, 5 deletions
diff --git a/phpBB/phpbb/db/migration/data/310/auth_provider_oauth.php b/phpBB/phpbb/db/migration/data/310/auth_provider_oauth.php
index 5a7f9b5c8d..0d8e8858bb 100644
--- a/phpBB/phpbb/db/migration/data/310/auth_provider_oauth.php
+++ b/phpBB/phpbb/db/migration/data/310/auth_provider_oauth.php
@@ -22,23 +22,23 @@ class phpbb_db_migration_data_310_auth_provider_oauth extends phpbb_db_migration
'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'),
),
),
$this->table_prefix . 'oauth_accounts' => array(
'COLUMNS' => array(
'user_id' => array('UINT', 0),
- 'oauth_provider' => array('VCHAR'),
- 'oauth_provider_id' => array('TEXT_UNI'),
+ 'provider' => array('VCHAR', ''),
+ 'oauth_provider_id' => array('TEXT_UNI', ''),
),
'PRIMARY_KEY' => array(
'user_id',
- 'oauth_provider',
+ 'provider',
),
),
),