Last active
August 29, 2015 14:10
-
-
Save 328/f1f7f8ce7aa5e0e0c315 to your computer and use it in GitHub Desktop.
rails カラムの追加
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
``` | |
rails g migration AddカラムToテーブル カラム:型 | |
``` | |
AddカラムToテーブルのカラムとテーブルの頭文字は大文字じゃないとダメなので注意 | |
なぜかmasterブランチでやらないとコケる |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment