Project

General

Profile

Error #695

Error on migration for journals

Added by Emilio González Montaña about 11 years ago. Updated about 11 years ago.

Status:
Resolved
Priority:
Normal
Category:
Historical
Target version:
Start date:
2013-01-15
Due date:
2013-01-15
% Done:

100%

Estimated time:
Source:
Development
Detected on version:
Milestones:

Description

==  CreateJournals: migrating =================================================
-- create_table(:journals)
   -> 0.3986s
-- add_index(:journals, :element_id)
rake aborted!
An error has occurred, all later migrations canceled:

Mysql2::Error: Key column 'element_id' doesn't exist in table: CREATE  INDEX `index_journals_on_element_id` ON `journals` (`element_id`)

Tasks: TOP => db:migrate
(See full trace by running task with --trace)

Also available in: Atom PDF