这是我认为正确的代码:
rails generate migration AddDirectorsToMovies Directors:string
当我运行rake db:test:prepare
时,终端告诉我:
Run "rake db:migrate" to update your database then try again. The rake aborts.
这是我认为正确的代码:
rails generate migration AddDirectorsToMovies Directors:string
当我运行rake db:test:prepare
时,终端告诉我:
Run "rake db:migrate" to update your database then try again. The rake aborts.