Skip to content

Commit 9dc582d

Browse files
committed
Merge pull request thorsten#1034 from gerben-van-eck/master
Fixed 2 errors in the setup for postgresql database
2 parents 580e035 + 4a09f47 commit 9dc582d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

phpmyfaq/setup/assets/sql/pgsql.sql.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@
7171
auth_source varchar(100) NULL,
7272
member_since varchar(14) NULL,
7373
remember_me VARCHAR(150) NULL,
74-
success INT(1) NULL DEFAULT 1,
74+
success INTEGER NULL DEFAULT 1,
7575
PRIMARY KEY (user_id))";
7676

7777
//faqgroup
@@ -241,7 +241,7 @@
241241

242242
//faqinstances
243243
$query[] = "CREATE TABLE " . $sqltblpre . "faqinstances (
244-
id int4 NOT NULL,
244+
id SERIAL NOT NULL,
245245
url VARCHAR(255) NOT NULL,
246246
instance VARCHAR(255) NOT NULL,
247247
comment TEXT NULL,

0 commit comments

Comments
 (0)