Project

General

Profile

Actions

Bug #225

closed

migration fails - undefined local variable or method `release_name'

Added by Ohad Levy over 14 years ago. Updated over 14 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Database
Target version:
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

Description

AddFamilyToOs: migrating ================================================
-- add_column(:operatingsystems, :family_id, :integer)
> 0.0156s
rake aborted!
An error has occurred, all later migrations canceled:
undefined local variable or method `release_name' for #<Operatingsystem:0x2af9e14253f0>
hen next time I run it:
AddFamilyToOs: migrating ================================================
-
add_column(:operatingsystems, :family_id, :integer)
ake aborted!
n error has occurred, all later migrations canceled:
Mysql::Error: Duplicate column name 'family_id': ALTER TABLE `operatingsystems` ADD `family_id` int(11)
Actions

Also available in: Atom PDF