search for: 002_add_ssn

Displaying 1 result from an estimated 1 matches for "002_add_ssn".

2006 May 16
5
rake aborted when adding a column
I''m having a silly little problem with migrations.  All I''m trying to do is to add an SSN column to my Employees table.  I generated a migration which looks like: class AddSsn < ActiveRecord::Migration def self.up     add_column :employees, :ssn, :string end def self.down     remove_column :employees, :ssn   end end When I run this, however, I get: >rake