Tag: マイグレーション
rails generate migration create_books
class CreateHoges < ActiveRecord::Migration def change create_table :hoges do |t| t.string :name t.integer :age t.timestamps end end end
rake db:migrate