[typo] Postgres Issue with Migrate BoolifyContentAllowFoo

Paul Hart mail at paulhart.ca
Fri Dec 9 13:05:19 EST 2005

Hi all,

I'm running Typo-current with the latest Rails release (RC4 I guess!) 
and a PostgreSQL 8.0.3.

During the migrate 35, there is a problem with the update query; the 
message in the logfile is:

ActiveRecord::StatementInvalid (PGError: ERROR:  column "allow_comments" 
is of type boolean but expression is of type integer
HINT:  You will need to rewrite or cast the expression.

The start of the query is:

UPDATE contents SET "keywords" = '', "created_at" = '2005-11-29 
19:15:00', "allow_comments" = 1, "extended" = 'There [...]'

Suggestions? :)



More information about the Typo-list mailing list