Error during the install process

General discussion of Mantis.

Moderators: Developer, Contributor

Post Reply
Sergio
Posts: 4
Joined: 25 Sep 2007, 21:20
Location: Brazil

Error during the install process

Post by Sergio »

During the install process of Mantis 1.1.0a4 and using a PostgreSQL 8.1.9 database occurs the following problem.

CREATE TABLE mantis_bug_table ( id SERIAL,
...
sticky BOOLEAN DEFAULT 0 NOT NULL, PRIMARY KEY (id) )

ERROR: column "sticky" is of type boolean but default expression is of type integer HINT: You will need to rewrite or cast the expression.

What can I do? Rewrite the sentence? Where?

TIA
Sergio
nomikon
Posts: 6
Joined: 13 Aug 2007, 17:44

Re: Error during the install process

Post by nomikon »

I'm testing the latest 1.1.0rc3 version with PostgreSQL 8.1.10 and I get the same error while creating that table:


Schema CreateTableSQL ( mantis_bug_table )
...
ERROR: column "sticky" is of type boolean but default expression is of type integer HINT: You will need to rewrite or cast the expression.


Is there anyone having some success installing Mantis with PostgreSQL?

Regards, NK.
budershank
Posts: 1
Joined: 22 Feb 2008, 21:03

Re: Error during the install process

Post by budershank »

I am having the same issue on Mantis 1.1.1 and PostgresSQL 8.2
Post Reply