aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/install/schemas/sqlite_schema.sql
diff options
context:
space:
mode:
authorDhruv <dhruv.goel92@gmail.com>2013-10-11 15:58:35 +0530
committerDhruv <dhruv.goel92@gmail.com>2013-10-11 15:58:35 +0530
commit2198c29c205ba3a98e66746b9527c50c50f7c1e2 (patch)
tree80067630c4fc23c081e35aac0f340d540a9ed371 /phpBB/install/schemas/sqlite_schema.sql
parent230c1ecb6a6598360f28163c4c046f62e0c3c92f (diff)
parent698a2236a5e26bdae9359939f6e6be9cfa988b9a (diff)
downloadforums-2198c29c205ba3a98e66746b9527c50c50f7c1e2.tar
forums-2198c29c205ba3a98e66746b9527c50c50f7c1e2.tar.gz
forums-2198c29c205ba3a98e66746b9527c50c50f7c1e2.tar.bz2
forums-2198c29c205ba3a98e66746b9527c50c50f7c1e2.tar.xz
forums-2198c29c205ba3a98e66746b9527c50c50f7c1e2.zip
Merge remote-tracking branch 'nickvergessen/ticket/11867' into develop
# By Joas Schilling # Via Joas Schilling * nickvergessen/ticket/11867: [ticket/11867] Schema files are not created by create_schema_files.php
Diffstat (limited to 'phpBB/install/schemas/sqlite_schema.sql')
-rw-r--r--phpBB/install/schemas/sqlite_schema.sql40
1 files changed, 20 insertions, 20 deletions
diff --git a/phpBB/install/schemas/sqlite_schema.sql b/phpBB/install/schemas/sqlite_schema.sql
index de88900f06..079d48bc65 100644
--- a/phpBB/install/schemas/sqlite_schema.sql
+++ b/phpBB/install/schemas/sqlite_schema.sql
@@ -89,26 +89,6 @@ CREATE INDEX phpbb_acl_users_user_id ON phpbb_acl_users (user_id);
CREATE INDEX phpbb_acl_users_auth_option_id ON phpbb_acl_users (auth_option_id);
CREATE INDEX phpbb_acl_users_auth_role_id ON phpbb_acl_users (auth_role_id);
-# Table: 'phpbb_oauth_tokens'
-CREATE TABLE phpbb_oauth_tokens (
- user_id INTEGER UNSIGNED NOT NULL DEFAULT '0',
- session_id char(32) NOT NULL DEFAULT '',
- provider varchar(255) NOT NULL DEFAULT '',
- oauth_token mediumtext(16777215) NOT NULL DEFAULT ''
-);
-
-CREATE INDEX phpbb_oauth_tokens_user_id ON phpbb_oauth_tokens (user_id);
-CREATE INDEX phpbb_oauth_tokens_provider ON phpbb_oauth_tokens (provider);
-
-# Table: 'phpbb_oauth_accounts'
-CREATE TABLE phpbb_oauth_accounts (
- user_id INTEGER UNSIGNED NOT NULL DEFAULT '0',
- provider varchar(255) NOT NULL DEFAULT '',
- oauth_provider_id text(65535) NOT NULL DEFAULT '',
- PRIMARY KEY (user_id, provider)
-);
-
-
# Table: 'phpbb_banlist'
CREATE TABLE phpbb_banlist (
ban_id INTEGER PRIMARY KEY NOT NULL ,
@@ -484,6 +464,26 @@ CREATE TABLE phpbb_notifications (
CREATE INDEX phpbb_notifications_item_ident ON phpbb_notifications (notification_type_id, item_id);
CREATE INDEX phpbb_notifications_user ON phpbb_notifications (user_id, notification_read);
+# Table: 'phpbb_oauth_accounts'
+CREATE TABLE phpbb_oauth_accounts (
+ user_id INTEGER UNSIGNED NOT NULL DEFAULT '0',
+ provider varchar(255) NOT NULL DEFAULT '',
+ oauth_provider_id text(65535) NOT NULL DEFAULT '',
+ PRIMARY KEY (user_id, provider)
+);
+
+
+# Table: 'phpbb_oauth_tokens'
+CREATE TABLE phpbb_oauth_tokens (
+ user_id INTEGER UNSIGNED NOT NULL DEFAULT '0',
+ session_id char(32) NOT NULL DEFAULT '',
+ provider varchar(255) NOT NULL DEFAULT '',
+ oauth_token mediumtext(16777215) NOT NULL DEFAULT ''
+);
+
+CREATE INDEX phpbb_oauth_tokens_user_id ON phpbb_oauth_tokens (user_id);
+CREATE INDEX phpbb_oauth_tokens_provider ON phpbb_oauth_tokens (provider);
+
# Table: 'phpbb_poll_options'
CREATE TABLE phpbb_poll_options (
poll_option_id tinyint(4) NOT NULL DEFAULT '0',