Sha256: 1942ab355caa98a4daa12ab46855d23ed47b7e6f765bde3e8b68ec44e5054489

Contents?: true

Size: 278 Bytes

Versions: 38

Compression:

Stored size: 278 Bytes

Contents

class CreateMatchPlayers < ActiveRecord::Migration
  def change
    create_table :match_players do |t|
      t.references :match, index: true
      t.references :player, index: true
      t.string :ref_type
      t.integer :formation_index

      t.timestamps
    end
  end
end

Version data entries

38 entries across 38 versions & 1 rubygems

Version Path
synchronisable-1.3.1 spec/dummy/db/migrate/20140422133122_create_match_players.rb
synchronisable-1.3.0 spec/dummy/db/migrate/20140422133122_create_match_players.rb
synchronisable-1.2.7 spec/dummy/db/migrate/20140422133122_create_match_players.rb
synchronisable-1.2.6 spec/dummy/db/migrate/20140422133122_create_match_players.rb
synchronisable-1.2.5 spec/dummy/db/migrate/20140422133122_create_match_players.rb
synchronisable-1.2.4 spec/dummy/db/migrate/20140422133122_create_match_players.rb
synchronisable-1.2.3 spec/dummy/db/migrate/20140422133122_create_match_players.rb
synchronisable-1.2.2 spec/dummy/db/migrate/20140422133122_create_match_players.rb
synchronisable-1.2.1 spec/dummy/db/migrate/20140422133122_create_match_players.rb
synchronisable-1.2.0 spec/dummy/db/migrate/20140422133122_create_match_players.rb
synchronisable-1.1.9 spec/dummy/db/migrate/20140422133122_create_match_players.rb
synchronisable-1.1.8 spec/dummy/db/migrate/20140422133122_create_match_players.rb
synchronisable-1.1.7 spec/dummy/db/migrate/20140422133122_create_match_players.rb
synchronisable-1.1.6 spec/dummy/db/migrate/20140422133122_create_match_players.rb
synchronisable-1.1.5 spec/dummy/db/migrate/20140422133122_create_match_players.rb
synchronisable-1.1.4 spec/dummy/db/migrate/20140422133122_create_match_players.rb
synchronisable-1.1.3 spec/dummy/db/migrate/20140422133122_create_match_players.rb
synchronisable-1.1.2 spec/dummy/db/migrate/20140422133122_create_match_players.rb
synchronisable-1.1.1 spec/dummy/db/migrate/20140422133122_create_match_players.rb
synchronisable-1.1.0 spec/dummy/db/migrate/20140422133122_create_match_players.rb