Sha256: 06be0165d60bd880ffb84944484ec2595ae069a1883e9001e95df77bb6b1165a

Contents?: true

Size: 225 Bytes

Versions: 15

Compression:

Stored size: 225 Bytes

Contents

class CreateTires < ActiveRecord::Migration
  def change
    create_table :tires do |t|
      t.references :user, index: true
      t.references :car, index: true
      t.string :content

      t.timestamps
    end
  end
end

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
poly_belongs_to-1.0.0 test/dummy/db/migrate/20150301100658_create_tires.rb
poly_belongs_to-0.3.0 test/dummy/db/migrate/20150301100658_create_tires.rb
poly_belongs_to-0.2.9 test/dummy/db/migrate/20150301100658_create_tires.rb
poly_belongs_to-0.2.8 test/dummy/db/migrate/20150301100658_create_tires.rb
poly_belongs_to-0.2.7 test/dummy/db/migrate/20150301100658_create_tires.rb
poly_belongs_to-0.2.6 test/dummy/db/migrate/20150301100658_create_tires.rb
poly_belongs_to-0.2.5 test/dummy/db/migrate/20150301100658_create_tires.rb
poly_belongs_to-0.2.4 test/dummy/db/migrate/20150301100658_create_tires.rb
poly_belongs_to-0.2.3 test/dummy/db/migrate/20150301100658_create_tires.rb
poly_belongs_to-0.2.2 test/dummy/db/migrate/20150301100658_create_tires.rb
poly_belongs_to-0.2.1 test/dummy/db/migrate/20150301100658_create_tires.rb
poly_belongs_to-0.2.0 test/dummy/db/migrate/20150301100658_create_tires.rb
poly_belongs_to-0.1.10 test/dummy/db/migrate/20150301100658_create_tires.rb
poly_belongs_to-0.1.9 test/dummy/db/migrate/20150301100658_create_tires.rb
poly_belongs_to-0.1.8 test/dummy/db/migrate/20150301100658_create_tires.rb