about summary refs log tree commit diff
path: root/db/migrate/20210821230356_create_players.rb
blob: 21c89d6ee2dbbbb2c099190aa2bacbf6fd3b92c3 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
class CreatePlayers < ActiveRecord::Migration[6.0]
  def change
    create_table :players do |t|
      t.string :name
      t.integer :strikes
      t.boolean :paid

      t.timestamps
    end
  end
end