Sha256: 4761f109e31cb4a24a9e1d6a261dbe376f47af99eee48ab83326772189c882e7

Contents?: true

Size: 279 Bytes

Versions: 33

Compression:

Stored size: 279 Bytes

Contents

class AddMapFloorRepresentatorToC80MapFloorsFloors < ActiveRecord::Migration
  def change
    add_reference :c80_map_floors_floors, :map_floor_representator, index: true
    add_column :c80_map_floors_floors, :map_floor_representator_type, :string, :default => 'Floor'
  end
end

Version data entries

33 entries across 33 versions & 1 rubygems

Version Path
c80_map_floors-0.2.2 db/migrate/20161128181616_add_map_floor_representator_to_c80_map_floors_floors.rb
c80_map_floors-0.2.1 db/migrate/20161128181616_add_map_floor_representator_to_c80_map_floors_floors.rb
c80_map_floors-0.2.0.8 db/migrate/20161128181616_add_map_floor_representator_to_c80_map_floors_floors.rb
c80_map_floors-0.2.0.7 db/migrate/20161128181616_add_map_floor_representator_to_c80_map_floors_floors.rb
c80_map_floors-0.2.0.6 db/migrate/20161128181616_add_map_floor_representator_to_c80_map_floors_floors.rb
c80_map_floors-0.2.0.5 db/migrate/20161128181616_add_map_floor_representator_to_c80_map_floors_floors.rb
c80_map_floors-0.2.0.4 db/migrate/20161128181616_add_map_floor_representator_to_c80_map_floors_floors.rb
c80_map_floors-0.2.0.3 db/migrate/20161128181616_add_map_floor_representator_to_c80_map_floors_floors.rb
c80_map_floors-0.2.0.2 db/migrate/20161128181616_add_map_floor_representator_to_c80_map_floors_floors.rb
c80_map_floors-0.2.0.1 db/migrate/20161128181616_add_map_floor_representator_to_c80_map_floors_floors.rb
c80_map_floors-0.2.0.0 db/migrate/20161128181616_add_map_floor_representator_to_c80_map_floors_floors.rb
c80_map_floors-0.1.0.25 db/migrate/20161128181616_add_map_floor_representator_to_c80_map_floors_floors.rb
c80_map_floors-0.1.0.24 db/migrate/20161128181616_add_map_floor_representator_to_c80_map_floors_floors.rb
c80_map_floors-0.1.0.23 db/migrate/20161128181616_add_map_floor_representator_to_c80_map_floors_floors.rb
c80_map_floors-0.1.0.22 db/migrate/20161128181616_add_map_floor_representator_to_c80_map_floors_floors.rb
c80_map_floors-0.1.0.21 db/migrate/20161128181616_add_map_floor_representator_to_c80_map_floors_floors.rb
c80_map_floors-0.1.0.20 db/migrate/20161128181616_add_map_floor_representator_to_c80_map_floors_floors.rb
c80_map_floors-0.1.0.19 db/migrate/20161128181616_add_map_floor_representator_to_c80_map_floors_floors.rb
c80_map_floors-0.1.0.18 db/migrate/20161128181616_add_map_floor_representator_to_c80_map_floors_floors.rb
c80_map_floors-0.1.0.17 db/migrate/20161128181616_add_map_floor_representator_to_c80_map_floors_floors.rb