1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-07-30 21:40:43 +02:00

[feature/oauth] Actual final schema changes

PHPBB3-11673
This commit is contained in:
Joseph Warner
2013-07-23 22:18:41 -04:00
parent e60f4bc88b
commit 2483efe9a3
9 changed files with 34 additions and 34 deletions

View File

@@ -94,7 +94,7 @@ CREATE TABLE phpbb_acl_users (
CREATE TABLE phpbb_oauth_tokens (
user_id mediumint(8) UNSIGNED DEFAULT '0' NOT NULL,
session_id binary(32) DEFAULT '' NOT NULL,
provider varbinary(255) NOT NULL,
provider varbinary(255) DEFAULT '' NOT NULL,
oauth_token blob NOT NULL,
KEY user_id (user_id),
KEY provider (oauth_provider)
@@ -104,7 +104,7 @@ CREATE TABLE phpbb_oauth_tokens (
# Table: 'phpbb_oauth_accounts'
CREATE TABLE phpbb_oauth_accounts (
user_id mediumint(8) UNSIGNED DEFAULT '0' NOT NULL,
provider varbinary(255) NOT NULL,
provider varbinary(255) DEFAULT '' NOT NULL,
oauth_provider_id blob NOT NULL,
PRIMARY KEY (user_id, provider)
);