Sha256: b51624de3d9feb7bb8157d134e65a6a6fa5f0bbefa435ae755943bb1d3044c3a

Contents?: true

Size: 260 Bytes

Versions: 11

Compression:

Stored size: 260 Bytes

Contents

class CreateCoaches < ActiveRecord::Migration
  def change
    create_table :coaches do |t|
      t.string :first_name
      t.string :last_name
      t.string :role
      t.text :bio
      t.references :team, index: true

      t.timestamps
    end
  end
end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
fae-rails-1.6.0 spec/dummy/db/migrate/20150305215901_create_coaches.rb
fae-rails-1.5.1 spec/dummy/db/migrate/20150305215901_create_coaches.rb
fae-rails-1.5.0 spec/dummy/db/migrate/20150305215901_create_coaches.rb
fae-rails-1.4.1 spec/dummy/db/migrate/20150305215901_create_coaches.rb
fae-rails-1.4.0 spec/dummy/db/migrate/20150305215901_create_coaches.rb
fae-rails-1.3.1 spec/dummy/db/migrate/20150305215901_create_coaches.rb
fae-rails-1.3.0 spec/dummy/db/migrate/20150305215901_create_coaches.rb
fae-rails-1.2.5 spec/dummy/db/migrate/20150305215901_create_coaches.rb
fae-rails-1.2.4 spec/dummy/db/migrate/20150305215901_create_coaches.rb
fae-rails-1.2.3 spec/dummy/db/migrate/20150305215901_create_coaches.rb
fae-rails-1.2.2 spec/dummy/db/migrate/20150305215901_create_coaches.rb