Beginning Ruby on Rails E-Commerce : Errata Help

Holly Thomas
2006-11-20T15:42:19Z

Page 103, the migration for adding the cover column does not seem to
work.

$ script/generate migration add_book_cover_column

class AddBookCoverColumn < ActiveRecord::Migration
def self.up
add_column :books, :cover_image, :string
end
def self.down
remove_column :books, :cover_image
end
end

When I do the "rake migrate", I get table books already exists error
message.
Can someone tell me how to get this to work? TIA.

--
Posted via http://www.ruby-forum.com/.