Sha256: 935fc1eae43e331b6dcb2531673075f5459dd5b666dffded407e78c99e5e68a6

Contents?: true

Size: 306 Bytes

Versions: 30

Compression:

Stored size: 306 Bytes

Contents

class CreateTeamGroupStatistic < ActiveRecord::Migration
  def change
    create_table :team_group_statistics do |t|
      t.references :team, index: true
      t.integer :games_played
      t.integer :games_won
      t.integer :games_lost
      t.integer :games_draw

      t.timestamps
    end
  end
end

Version data entries

30 entries across 30 versions & 1 rubygems

Version Path
synchronisable-1.0.9 spec/dummy/db/migrate/20140609133855_create_team_group_statistic.rb
synchronisable-1.0.8 spec/dummy/db/migrate/20140609133855_create_team_group_statistic.rb
synchronisable-1.0.7 spec/dummy/db/migrate/20140609133855_create_team_group_statistic.rb
synchronisable-1.0.6 spec/dummy/db/migrate/20140609133855_create_team_group_statistic.rb
synchronisable-1.0.5 spec/dummy/db/migrate/20140609133855_create_team_group_statistic.rb
synchronisable-1.0.4 spec/dummy/db/migrate/20140609133855_create_team_group_statistic.rb
synchronisable-1.0.3 spec/dummy/db/migrate/20140609133855_create_team_group_statistic.rb
synchronisable-1.0.2 spec/dummy/db/migrate/20140609133855_create_team_group_statistic.rb
synchronisable-1.0.1 spec/dummy/db/migrate/20140609133855_create_team_group_statistic.rb
synchronisable-1.0.0 spec/dummy/db/migrate/20140609133855_create_team_group_statistic.rb