aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--phpBB/db/schemas/ms_access_primer.zipbin100580 -> 99958 bytes
-rw-r--r--phpBB/db/schemas/mssql_schema.sql2
-rw-r--r--phpBB/db/schemas/mysql_schema.sql2
-rw-r--r--phpBB/db/schemas/postgres_schema.sql3
4 files changed, 3 insertions, 4 deletions
diff --git a/phpBB/db/schemas/ms_access_primer.zip b/phpBB/db/schemas/ms_access_primer.zip
index cc6f39c44b..83dc62331c 100644
--- a/phpBB/db/schemas/ms_access_primer.zip
+++ b/phpBB/db/schemas/ms_access_primer.zip
Binary files differ
diff --git a/phpBB/db/schemas/mssql_schema.sql b/phpBB/db/schemas/mssql_schema.sql
index 9a58f2d18b..1e76eb855c 100644
--- a/phpBB/db/schemas/mssql_schema.sql
+++ b/phpBB/db/schemas/mssql_schema.sql
@@ -63,7 +63,7 @@ CREATE TABLE [phpbb_forum_prune] (
GO
CREATE TABLE [phpbb_forums] (
- [forum_id] [int] IDENTITY (1, 1) NOT NULL ,
+ [forum_id] [int] NOT NULL ,
[cat_id] [int] NOT NULL ,
[forum_name] [varchar] (100) NOT NULL ,
[forum_desc] [varchar] (255) NULL ,
diff --git a/phpBB/db/schemas/mysql_schema.sql b/phpBB/db/schemas/mysql_schema.sql
index c9ca19e03c..8d0e08e545 100644
--- a/phpBB/db/schemas/mysql_schema.sql
+++ b/phpBB/db/schemas/mysql_schema.sql
@@ -121,7 +121,7 @@ CREATE TABLE phpbb_forum_prune (
# Table structure for table 'phpbb_forums'
#
CREATE TABLE phpbb_forums (
- forum_id smallint(5) UNSIGNED NOT NULL auto_increment,
+ forum_id smallint(5) UNSIGNED NOT NULL,
cat_id mediumint(8) UNSIGNED NOT NULL,
forum_name varchar(150),
forum_desc text,
diff --git a/phpBB/db/schemas/postgres_schema.sql b/phpBB/db/schemas/postgres_schema.sql
index f322a333de..2ccd892d94 100644
--- a/phpBB/db/schemas/postgres_schema.sql
+++ b/phpBB/db/schemas/postgres_schema.sql
@@ -8,7 +8,6 @@
CREATE SEQUENCE phpbb_banlist_id_seq start 1 increment 1 maxvalue 2147483647 minvalue 1 cache 1;
CREATE SEQUENCE phpbb_categories_id_seq start 2 increment 1 maxvalue 2147483647 minvalue 1 cache 1;
CREATE SEQUENCE phpbb_disallow_id_seq start 1 increment 1 maxvalue 2147483647 minvalue 1 cache 1;
-CREATE SEQUENCE phpbb_forums_id_seq start 2 increment 1 maxvalue 2147483647 minvalue 1 cache 1;
CREATE SEQUENCE phpbb_posts_id_seq start 2 increment 1 maxvalue 2147483647 minvalue 1 cache 1;
CREATE SEQUENCE phpbb_privmsgs_id_seq start 1 increment 1 maxvalue 2147483647 minvalue 1 cache 1;
CREATE SEQUENCE phpbb_ranks_id_seq start 2 increment 1 maxvalue 2147483647 minvalue 1 cache 1;
@@ -106,7 +105,7 @@ CREATE TABLE phpbb_disallow (
Table structure for table phpbb_forums
-------------------------------------------------------- */
CREATE TABLE phpbb_forums (
- forum_id int4 DEFAULT nextval('phpbb_forums_id_seq'::text) NOT NULL,
+ forum_id int4 DEFAULT '0' NOT NULL,
cat_id int4,
forum_name varchar(150),
forum_desc text,