I have a application, running with MySQL in my local machine. There is a field I define as boolean in Rails, which is represent in 0 or 1 in MySQL.
I am now trying migrate to Heroku, which is using PostgreSQL. After push the code and database to Heroku, the app cannot run.
There is an error message.
ActiveRecord::StatementInvalid (PGError: ERROR: operator does not exist: boolean = integer
How can I fix it?
Thanks all.