Sha256: fb8ad458cdca318c474073595ca54e953183589022f51bbf6b6d4b56884b8dc6

Contents?: true

Size: 237 Bytes

Versions: 12

Compression:

Stored size: 237 Bytes

Contents

class CreateMotorCycles < ActiveRecord::Migration
  def change
    create_table :motor_cycles do |t|
      t.references :motor_vehicle
      t.boolean :offroad

      t.timestamps
    end
    
    cti_create_view('MotorCycle')
  end
end

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
dbview_cti-0.2.2 spec/dummy-rails-3/db/migrate/20130713153631_create_motor_cycles.rb
dbview_cti-0.2.1 spec/dummy-rails-3/db/migrate/20130713153631_create_motor_cycles.rb
dbview_cti-0.2.0 spec/dummy-rails-3/db/migrate/20130713153631_create_motor_cycles.rb
dbview_cti-0.1.5 spec/dummy-rails-3/db/migrate/20130713153631_create_motor_cycles.rb
dbview_cti-0.1.4 spec/dummy-rails-3/db/migrate/20130713153631_create_motor_cycles.rb
dbview_cti-0.1.3 spec/dummy-rails-3/db/migrate/20130713153631_create_motor_cycles.rb
dbview_cti-0.1.2 spec/dummy-rails-3/db/migrate/20130713153631_create_motor_cycles.rb
dbview_cti-0.1.1 spec/dummy-rails-3/db/migrate/20130713153631_create_motor_cycles.rb
dbview_cti-0.1.0 spec/dummy-rails-3/db/migrate/20130713153631_create_motor_cycles.rb
dbview_cti-0.0.3 spec/dummy-rails-3/db/migrate/20130713153631_create_motor_cycles.rb
dbview_cti-0.0.2 spec/dummy-rails-3/db/migrate/20130713153631_create_motor_cycles.rb
dbview_cti-0.0.1 spec/dummy-rails-3/db/migrate/20130713153631_create_motor_cycles.rb