mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-25 19:38:53 +00:00
Remove auto increment/IDENTITY/autonumber/sequence from forum_id in _forums, this is set by the admin_forums app itself.
git-svn-id: file:///svn/phpbb/trunk@2089 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
parent
1c145bf6bd
commit
4c21aea0f3
4 changed files with 3 additions and 4 deletions
Binary file not shown.
|
@ -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 ,
|
||||
|
|
|
@ -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,
|
||||
|
|
|
@ -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,
|
||||
|
|
Loading…
Add table
Reference in a new issue