aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoseph Warner <hardolaf@hardolaf.com>2013-07-23 22:29:11 -0400
committerJoseph Warner <hardolaf@hardolaf.com>2013-07-23 22:29:27 -0400
commit4369cc88762466f16da5aed3bff0037e9d7a46d2 (patch)
tree1f3d401914a8eaf41df64f32788c1b335d3793a8
parentda6a8787f8443ea02f405a913aa5d0721034f819 (diff)
downloadforums-4369cc88762466f16da5aed3bff0037e9d7a46d2.tar
forums-4369cc88762466f16da5aed3bff0037e9d7a46d2.tar.gz
forums-4369cc88762466f16da5aed3bff0037e9d7a46d2.tar.bz2
forums-4369cc88762466f16da5aed3bff0037e9d7a46d2.tar.xz
forums-4369cc88762466f16da5aed3bff0037e9d7a46d2.zip
[feature/oauth] Fix more errors related to sql changes
PHPBB3-11673
-rw-r--r--phpBB/config/tables.yml2
-rw-r--r--phpBB/phpbb/db/migration/data/310/auth_provider_oauth.php2
2 files changed, 2 insertions, 2 deletions
diff --git a/phpBB/config/tables.yml b/phpBB/config/tables.yml
index a4c730e3bf..0d364eb6b0 100644
--- a/phpBB/config/tables.yml
+++ b/phpBB/config/tables.yml
@@ -1,5 +1,5 @@
parameters:
- tables.auth_provider_oauth_token_storage: %core.table_prefix%oauth_token
+ tables.auth_provider_oauth_token_storage: %core.table_prefix%oauth_tokens
tables.auth_provider_oauth_account_assoc: %core.table_prefix%oauth_accounts
tables.config: %core.table_prefix%config
tables.config_text: %core.table_prefix%config_text
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 febd399c98..5e3fa919e8 100644
--- a/phpBB/phpbb/db/migration/data/310/auth_provider_oauth.php
+++ b/phpBB/phpbb/db/migration/data/310/auth_provider_oauth.php
@@ -18,7 +18,7 @@ class phpbb_db_migration_data_310_auth_provider_oauth extends phpbb_db_migration
{
return array(
'add_tables' => array(
- $this->table_prefix . 'oauth_token' => array(
+ $this->table_prefix . '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