Webアプリ開発のメモ
$ rails generate migration AddPhoneToUsers phone:string
class AddPhoneToUsers < ActiveRecord::Migration def change add_column :users, :phone, :string end end
0 件のコメント:
コメントを投稿