Question

i'm working on the One Month Rails app and I recently run into this error when i try to run rake db: migrate:

enter image description here

Here is what my migration file looks like:

enter image description here

Any help on how to solve this? Thanks in advance

Was it helpful?

Solution

Try with specifying the version and run.

rake:db:migrate VERSION = your_file_version

In your case,it is

rake:db:migrate VERSION = 20140418122310

Edit

In your migration file change this line

create_table :pins do |t|

to like this

change_table :pins do |t|
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top