1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-08-11 19:24:01 +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 char(32) DEFAULT '' NOT NULL,
provider varchar(255) NOT NULL,
provider varchar(255) DEFAULT '' NOT NULL,
oauth_token text 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 varchar(255) NOT NULL,
provider varchar(255) DEFAULT '' NOT NULL,
oauth_provider_id text NOT NULL,
PRIMARY KEY (user_id, provider)
) CHARACTER SET `utf8` COLLATE `utf8_bin`;