1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-05-04 22:58:10 +02:00

[feature/oauth] Fix more errors related to sql changes

PHPBB3-11673
This commit is contained in:
Joseph Warner 2013-07-23 22:29:11 -04:00
parent da6a8787f8
commit 4369cc8876
2 changed files with 2 additions and 2 deletions

View File

@ -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

View File

@ -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