3
3

More than 5 years have passed since last update.

Railsで既存データベースにカラムを追加する方法

Posted at

自分用メモ。
追加の場合はマイグレーションスクリプトを作成して追加する。

rails g migration AddColumnToUsers provider:string uid:string name:string image_url:string access_token:string
rake db:migrate
3
3
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
3
3