rake does not returning anything
- by CHID
Hi,
I jus created a rails application. I created a model using ruby script/generate model Article
next i edited the my articles.rb file by adding these lines in self.up method
def self.up
create_table :articles do |t|
t.string :title
t.text :body
t.string :published_at
t.timestamps
end
end
Now i ran rake db:migrate . But migrate does not work, it simply does no print anything. Anyone knows where i am going wrong?