Project

General

Profile

Defect #516

Migration fails with Redmine 1.0 and Postgres 8.4

Added by Holger Winkelmann almost 9 years ago. Updated almost 9 years ago.

Status:
担当(Assigned)
Priority:
通常(Normal)
Assignee:
Target version:
-
Start date:
08/16/2010
Due date:
% Done:

0%

Estimated time:

Description

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" 

History

#1

Updated by Holger Winkelmann almost 9 years ago

BTW: I have checked the 0.4.0 zip from the Hudson build results page

#2

Updated by Haru Iida almost 9 years ago

  • Status changed from 新規(New) to 担当(Assigned)
  • Assignee set to Haru Iida

Also available in: Atom PDF