about summary refs log tree commit diff stats
path: root/db/migrate/20190312193154_create_games.rb
blob: de30492bcae491eee6af9ee6156260af4c58262c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
class CreateGames < ActiveRecord::Migration[5.2]
  def change
    create_table :games do |t|
      t.string :title
      t.string :status
      t.text :progress
      t.text :description
      t.integer :score

      t.timestamps
    end
  end
end