Pergunta

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

Foi útil?

Solução

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|
Licenciado em: CC-BY-SA com atribuição
Não afiliado a StackOverflow
scroll top