rails generate model User name:string email: string
并且还做了这个:
bundle exec rake db:migrate
现在我决定在User模型中添加第三个字段,如地址.我该怎么做?
rails g migration AddAddressToUser address:string rake db:migrate