mirror of
https://github.com/phpbb/phpbb.git
synced 2025-05-04 14:47:52 +02:00
schemas
git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@8734 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
parent
b7fe9f7b8a
commit
23de1b638a
@ -1078,7 +1078,7 @@ CREATE TABLE phpbb_styles_template (
|
||||
bbcode_bitfield VARCHAR(255) CHARACTER SET NONE DEFAULT 'kNg=' NOT NULL,
|
||||
template_storedb INTEGER DEFAULT 0 NOT NULL,
|
||||
template_inherits_id INTEGER DEFAULT 0 NOT NULL,
|
||||
template_inherit_path VARCHAR(255) CHARACTER SET NONE NOT NULL
|
||||
template_inherit_path VARCHAR(255) CHARACTER SET NONE DEFAULT '' NOT NULL
|
||||
);;
|
||||
|
||||
ALTER TABLE phpbb_styles_template ADD PRIMARY KEY (template_id);;
|
||||
|
@ -1297,7 +1297,7 @@ CREATE TABLE [phpbb_styles_template] (
|
||||
[bbcode_bitfield] [varchar] (255) DEFAULT ('kNg=') NOT NULL ,
|
||||
[template_storedb] [int] DEFAULT (0) NOT NULL ,
|
||||
[template_inherits_id] [int] DEFAULT (0) NOT NULL ,
|
||||
[template_inherit_path] [varchar] (255) NOT NULL
|
||||
[template_inherit_path] [varchar] (255) DEFAULT ('') NOT NULL
|
||||
) ON [PRIMARY]
|
||||
GO
|
||||
|
||||
|
@ -740,7 +740,7 @@ CREATE TABLE phpbb_styles_template (
|
||||
bbcode_bitfield varbinary(255) DEFAULT 'kNg=' NOT NULL,
|
||||
template_storedb tinyint(1) UNSIGNED DEFAULT '0' NOT NULL,
|
||||
template_inherits_id int(4) UNSIGNED DEFAULT '0' NOT NULL,
|
||||
template_inherit_path varbinary(255) NOT NULL,
|
||||
template_inherit_path varbinary(255) DEFAULT '' NOT NULL,
|
||||
PRIMARY KEY (template_id),
|
||||
UNIQUE tmplte_nm (template_name(255))
|
||||
);
|
||||
|
@ -740,7 +740,7 @@ CREATE TABLE phpbb_styles_template (
|
||||
bbcode_bitfield varchar(255) DEFAULT 'kNg=' NOT NULL,
|
||||
template_storedb tinyint(1) UNSIGNED DEFAULT '0' NOT NULL,
|
||||
template_inherits_id int(4) UNSIGNED DEFAULT '0' NOT NULL,
|
||||
template_inherit_path varchar(255) NOT NULL,
|
||||
template_inherit_path varchar(255) DEFAULT '' NOT NULL,
|
||||
PRIMARY KEY (template_id),
|
||||
UNIQUE tmplte_nm (template_name)
|
||||
) CHARACTER SET `utf8` COLLATE `utf8_bin`;
|
||||
|
@ -1432,7 +1432,7 @@ CREATE TABLE phpbb_styles_template (
|
||||
bbcode_bitfield varchar2(255) DEFAULT 'kNg=' NOT NULL,
|
||||
template_storedb number(1) DEFAULT '0' NOT NULL,
|
||||
template_inherits_id number(4) DEFAULT '0' NOT NULL,
|
||||
template_inherit_path varchar2(255) NOT NULL,
|
||||
template_inherit_path varchar2(255) DEFAULT '' ,
|
||||
CONSTRAINT pk_phpbb_styles_template PRIMARY KEY (template_id),
|
||||
CONSTRAINT u_phpbb_tmplte_nm UNIQUE (template_name)
|
||||
)
|
||||
|
@ -973,7 +973,7 @@ CREATE TABLE phpbb_styles_template (
|
||||
bbcode_bitfield varchar(255) DEFAULT 'kNg=' NOT NULL,
|
||||
template_storedb INT2 DEFAULT '0' NOT NULL CHECK (template_storedb >= 0),
|
||||
template_inherits_id INT4 DEFAULT '0' NOT NULL CHECK (template_inherits_id >= 0),
|
||||
template_inherit_path varchar(255) NOT NULL,
|
||||
template_inherit_path varchar(255) DEFAULT '' NOT NULL,
|
||||
PRIMARY KEY (template_id)
|
||||
);
|
||||
|
||||
|
@ -715,7 +715,7 @@ CREATE TABLE phpbb_styles_template (
|
||||
bbcode_bitfield varchar(255) NOT NULL DEFAULT 'kNg=',
|
||||
template_storedb INTEGER UNSIGNED NOT NULL DEFAULT '0',
|
||||
template_inherits_id INTEGER UNSIGNED NOT NULL DEFAULT '0',
|
||||
template_inherit_path varchar(255) NOT NULL
|
||||
template_inherit_path varchar(255) NOT NULL DEFAULT ''
|
||||
);
|
||||
|
||||
CREATE UNIQUE INDEX phpbb_styles_template_tmplte_nm ON phpbb_styles_template (template_name);
|
||||
|
Loading…
x
Reference in New Issue
Block a user