1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-07-31 22:10:45 +02:00

- re-added emotion column. ;)

- postgresql schema fix


git-svn-id: file:///svn/phpbb/trunk@5125 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
Meik Sievertsen
2005-04-20 18:04:43 +00:00
parent a78e6a15af
commit f134530566
7 changed files with 231 additions and 287 deletions

View File

@@ -455,13 +455,6 @@ CREATE TABLE phpbb_ranks (
rank_image VARCHAR(100)
);;
# phpbb_ratings
CREATE TABLE phpbb_ratings (
post_id INTEGER DEFAULT 0 NOT NULL,
user_id INTEGER DEFAULT 0 NOT NULL,
rating INTEGER DEFAULT 0 NOT NULL
);;
# phpbb_reports
CREATE TABLE phpbb_reports (
report_id INTEGER NOT NULL,
@@ -530,7 +523,7 @@ CREATE TABLE phpbb_sitelist (
CREATE TABLE phpbb_smilies (
smiley_id INTEGER NOT NULL,
code VARCHAR(10),
smiley VARCHAR(50),
emotion VARCHAR(50),
smiley_url VARCHAR(50),
smiley_width INTEGER DEFAULT 0 NOT NULL,
smiley_height INTEGER DEFAULT 0 NOT NULL,
@@ -1213,16 +1206,6 @@ ADD PRIMARY KEY (
rank_id
);;
CREATE INDEX post_id52
ON phpbb_ratings(
post_id
);;
CREATE INDEX user_id53
ON phpbb_ratings(
user_id
);;
ALTER TABLE phpbb_reports
ADD PRIMARY KEY (
report_id