about summary refs log tree commit diff
path: root/db/migrate/20220115164423_create_players.rb
blob: b12249a008904904c84904f3489f0bc8b3b78a0e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
# frozen_string_literal: true

class CreatePlayers < ActiveRecord::Migration[7.0]
  def change
    create_table :players do |t|
      t.string :name
      t.boolean :paid
      t.integer :strikes

      t.timestamps
    end
  end
end