mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-27 21:58:52 +00:00
A minor change to the default icon_id, so that there is no icon if someone directly inserts into the db without specifying one
git-svn-id: file:///svn/phpbb/trunk@5892 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
parent
6d3a8bd107
commit
75db599274
7 changed files with 7 additions and 7 deletions
|
@ -607,7 +607,7 @@ CREATE TABLE phpbb_posts (
|
|||
topic_id INTEGER DEFAULT 0 NOT NULL,
|
||||
forum_id INTEGER DEFAULT 0 NOT NULL,
|
||||
poster_id INTEGER DEFAULT 0 NOT NULL,
|
||||
icon_id INTEGER DEFAULT 1 NOT NULL,
|
||||
icon_id INTEGER DEFAULT 0 NOT NULL,
|
||||
poster_ip VARCHAR(40) NOT NULL,
|
||||
post_time INTEGER DEFAULT 0 NOT NULL,
|
||||
post_approved INTEGER DEFAULT 1 NOT NULL,
|
||||
|
|
|
@ -960,7 +960,7 @@ ALTER TABLE [phpbb_posts] WITH NOCHECK ADD
|
|||
CONSTRAINT [DF_phpbb_posts__topic_id] DEFAULT (0) FOR [topic_id],
|
||||
CONSTRAINT [DF_phpbb_posts__forum_id] DEFAULT (0) FOR [forum_id],
|
||||
CONSTRAINT [DF_phpbb_posts__poster_id] DEFAULT (0) FOR [poster_id],
|
||||
CONSTRAINT [DF_phpbb_posts__icon_id] DEFAULT (1) FOR [icon_id],
|
||||
CONSTRAINT [DF_phpbb_posts__icon_id] DEFAULT (0) FOR [icon_id],
|
||||
CONSTRAINT [DF_phpbb_posts__post_time] DEFAULT (0) FOR [post_time],
|
||||
CONSTRAINT [DF_phpbb_posts__post_approved] DEFAULT (1) FOR [post_approved],
|
||||
CONSTRAINT [DF_phpbb_posts__post_reported] DEFAULT (0) FOR [post_reported],
|
||||
|
|
|
@ -392,7 +392,7 @@ CREATE TABLE phpbb_posts (
|
|||
topic_id mediumint(8) UNSIGNED DEFAULT '0' NOT NULL,
|
||||
forum_id smallint(5) UNSIGNED DEFAULT '0' NOT NULL,
|
||||
poster_id mediumint(8) UNSIGNED DEFAULT '0' NOT NULL,
|
||||
icon_id tinyint(4) UNSIGNED DEFAULT '1' NOT NULL,
|
||||
icon_id tinyint(4) UNSIGNED DEFAULT '0' NOT NULL,
|
||||
poster_ip varchar(40) NOT NULL,
|
||||
post_time int(11) DEFAULT '0' NOT NULL,
|
||||
post_approved tinyint(1) DEFAULT '1' NOT NULL,
|
||||
|
|
|
@ -827,7 +827,7 @@ CREATE TABLE phpbb_posts (
|
|||
topic_id number(8) DEFAULT '0' NOT NULL,
|
||||
forum_id number(5) DEFAULT '0' NOT NULL,
|
||||
poster_id number(8) DEFAULT '0' NOT NULL,
|
||||
icon_id number(4) DEFAULT '1' NOT NULL,
|
||||
icon_id number(4) DEFAULT '0' NOT NULL,
|
||||
poster_ip varchar2(40),
|
||||
post_time number(11) DEFAULT '0' NOT NULL,
|
||||
post_approved number(1) DEFAULT '1' NOT NULL,
|
||||
|
|
|
@ -554,7 +554,7 @@ CREATE TABLE phpbb_posts (
|
|||
topic_id INT4 DEFAULT '0' NOT NULL,
|
||||
forum_id INT2 DEFAULT '0' NOT NULL,
|
||||
poster_id INT4 DEFAULT '0' NOT NULL,
|
||||
icon_id INT2 DEFAULT '1' NOT NULL,
|
||||
icon_id INT2 DEFAULT '0' NOT NULL,
|
||||
poster_ip varchar(40) NOT NULL,
|
||||
post_time INT4 DEFAULT '0' NOT NULL,
|
||||
post_approved INT2 DEFAULT '1' NOT NULL,
|
||||
|
|
|
@ -625,7 +625,7 @@ INSERT INTO phpbb_topics (topic_title, topic_poster, topic_time, topic_views, to
|
|||
# MSSQL IDENTITY phpbb_posts ON #
|
||||
|
||||
# -- Demo Post
|
||||
INSERT INTO phpbb_posts (topic_id, forum_id, poster_id, post_time, post_username, poster_ip, post_subject, post_text, post_checksum, bbcode_uid) VALUES (1, 2, 2, 972086460, NULL, '127.0.0.1', 'Welcome to phpBB 3', 'This is an example post in your phpBB 3.0 installation. You may delete this post, this topic and even this forum if you like since everything seems to be working!', '', '');
|
||||
INSERT INTO phpbb_posts (topic_id, forum_id, poster_id, icon_id, post_time, post_username, poster_ip, post_subject, post_text, post_checksum, bbcode_uid) VALUES (1, 2, 2, 1, 972086460, NULL, '127.0.0.1', 'Welcome to phpBB 3', 'This is an example post in your phpBB 3.0 installation. You may delete this post, this topic and even this forum if you like since everything seems to be working!', '', '');
|
||||
|
||||
# MSSQL IDENTITY phpbb_posts OFF #
|
||||
|
||||
|
|
|
@ -425,7 +425,7 @@ CREATE TABLE phpbb_posts (
|
|||
topic_id mediumint(8) NOT NULL DEFAULT '0',
|
||||
forum_id smallint(5) NOT NULL DEFAULT '0',
|
||||
poster_id mediumint(8) NOT NULL DEFAULT '0',
|
||||
icon_id tinyint(4) NOT NULL DEFAULT '1',
|
||||
icon_id tinyint(4) NOT NULL DEFAULT '0',
|
||||
poster_ip varchar(40) NOT NULL,
|
||||
post_time int(11) NOT NULL DEFAULT '0',
|
||||
post_approved tinyint(1) NOT NULL DEFAULT '1',
|
||||
|
|
Loading…
Add table
Reference in a new issue