Rake db:migrate error “don't know how to build task”

后端 未结 3 1900
温柔的废话
温柔的废话 2021-01-20 04:43

I\'ve got a table where I used integer on a field which needs decimal places, so I\'m trying to create a migration which changes the field type from integer to float/real. M

3条回答
  •  感动是毒
    2021-01-20 05:09

    make sure your command is rake db:migrate . Pay attention to there is no any space between : and migrate

提交回复
热议问题