From 2483efe9a34df48a82bcceff5f966881fea2a37e Mon Sep 17 00:00:00 2001
From: Joseph Warner <hardolaf@hardolaf.com>
Date: Tue, 23 Jul 2013 22:18:41 -0400
Subject: [feature/oauth] Actual final schema changes

PHPBB3-11673
---
 phpBB/phpbb/db/migration/data/310/auth_provider_oauth.php | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

(limited to 'phpBB/phpbb/db')

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',
 					),
 				),
 			),
-- 
cgit v1.2.1