Rails - マイグレーションでカラム追加 Aug 8, 2019 Rails - マイグレーションでカラム追加 bundle exec rails g migration AddXxxIdToUsers Rails 3 なので … マイグレーションコードは自分で書く。