Project

General

Profile

Actions

Defect #9821

closed

Rake db fails updating from 1.2.1 to 1.3.0

Added by pasquale [:dedalus] about 13 years ago. Updated almost 13 years ago.

Status:
Closed
Priority:
High
Assignee:
-
Category:
Database
Target version:
-
Start date:
Due date:
% Done:

0%

Estimated time:
Resolution:
Invalid
Affected version:

Description

Exec command => rake db:migrate RAILS_ENV=production fails with this message

Please install RDoc 2.4.2+ to generate documentation.
==  CreateChangesetParents: migrating =========================================
-- create_table(:changeset_parents, {:id=>false})
rake aborted!
An error has occurred, all later migrations canceled:

Mysql::Error: Table 'changeset_parents' already exists: CREATE TABLE `changeset_parents` (`changeset_id` int(11) NOT NULL, `parent_id` int(11) NOT NULL) ENGINE=InnoDB

Files

rakeDb--trace.log (5.75 KB) rakeDb--trace.log pasquale [:dedalus], 2011-12-16 09:25
schema_migrations.log (2.53 KB) schema_migrations.log pasquale [:dedalus], 2011-12-16 12:12
Actions

Also available in: Atom PDF