rails使用 rake db:migrate 提示 Migrations are pending; run 'rake db:migrate RAILS_ENV=development' to resolve this issue.
首先得特么建立数据库
:
rake db:create
实际问题是没有int应该用integer
http://www.rubycc.com/column/rails3.2.3/rails.htm
首先得特么建立数据库
:
rake db:create
实际问题是没有int应该用integer
http://www.rubycc.com/column/rails3.2.3/rails.htm