I'm having trouble modifying an existng database.
My initial command to create was:
ruby script/generate model Album title:string picture:string
description:string price:float itemType:string
Being that I forgot to put artist name I tried to go into the
migrations file, set :force => true
and added t.string :artist into the the create_table block, and then
add_index :albums, :artist after it. so the new modified version
looks like this:
create_table :albums, :force => true do |t|
add_index :albums, :artist
I ran db:migrate and the changes still haven't taken place....am I
missing something here?