Migration fails with Redmine 1.0 and Postgres 8.4
Hi, just tried this plugin, but it fails while running the migration (and also dont let revole the migration to VERSION=0)
The rake output looks like this:
Migrating redmine_code_review... == AddAutoAssign: migrating ================================================== -- add_column(:code_review_project_settings, "auto_assign", :text) rake aborted! An error has occurred, this and all later migrations canceled: PGError: ERROR: relation "code_review_project_settings" does not exist : ALTER TABLE "code_review_project_settings" ADD COLUMN "auto_assign" text
I try to revert the migration like this:
root@vlx028-tpo:/var/www/redmine.tpip.net/redmine# RAILS_ENV=production rake db:migrate:plugin NAME=redmine_code_review VERSION=0 (in /var/www/redmine.tpip.net/redmine) Migrating redmine_code_review to version 0 ... == AddChangesetId: reverting ================================================= -- remove_column(:code_review_assignments, "changeset_id") rake aborted! An error has occurred, this and all later migrations canceled: PGError: ERROR: relation "code_review_assignments" does not exist : ALTER TABLE "code_review_assignments" DROP "changeset_id"