Sha256: fd5d04976bd1113b2e4521effe98596257319ea16935e78b0cb25e94a373791d

Contents?: true

Size: 274 Bytes

Versions: 13

Compression:

Stored size: 274 Bytes

Contents

class AddBuildingRepresentatorToC80MapBuildings < ActiveRecord::Migration
  def change
    add_reference :c80_map_buildings, :building_representator, index: true
    add_column :c80_map_buildings, :building_representator_type, :string, :default => 'Rent::Building'
  end
end

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
c80_map-0.1.0.24 db/migrate/20160901153030_add_building_representator_to_c80_map_buildings.rb
c80_map-0.1.0.23 db/migrate/20160901153030_add_building_representator_to_c80_map_buildings.rb
c80_map-0.1.0.22 db/migrate/20160901153030_add_building_representator_to_c80_map_buildings.rb
c80_map-0.1.0.21 db/migrate/20160901153030_add_building_representator_to_c80_map_buildings.rb
c80_map-0.1.0.20 db/migrate/20160901153030_add_building_representator_to_c80_map_buildings.rb
c80_map-0.1.0.19 db/migrate/20160901153030_add_building_representator_to_c80_map_buildings.rb
c80_map-0.1.0.18 db/migrate/20160901153030_add_building_representator_to_c80_map_buildings.rb
c80_map-0.1.0.17 db/migrate/20160901153030_add_building_representator_to_c80_map_buildings.rb
c80_map-0.1.0.16 db/migrate/20160901153030_add_building_representator_to_c80_map_buildings.rb
c80_map-0.1.0.15 db/migrate/20160901153030_add_building_representator_to_c80_map_buildings.rb
c80_map-0.1.0.14 db/migrate/20160901153030_add_building_representator_to_c80_map_buildings.rb
c80_map-0.1.0.13 db/migrate/20160901153030_add_building_representator_to_c80_map_buildings.rb
c80_map-0.1.0.12 db/migrate/20160901153030_add_building_representator_to_c80_map_buildings.rb