Sha256: af8033132d6868abac79dab9e09ca08e5cc2903b81ffe8c7c9d5bdd574771f1e

Contents?: true

Size: 376 Bytes

Versions: 15

Compression:

Stored size: 376 Bytes

Contents

class CreateC80MapAreas < ActiveRecord::Migration
  def change
    create_table :c80_map_areas, :options => 'COLLATE=utf8_unicode_ci' do |t|
      t.text :tag
      t.text :coords
      t.references :building, index: true
      t.string :area_representator_type, :default => 'Rent::Area'
      t.references :area_representator, index: true
      t.timestamps
    end
  end
end

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
c80_map-0.1.0.24 db/migrate/20160620040225_create_c80_map_areas.rb
c80_map-0.1.0.23 db/migrate/20160620040225_create_c80_map_areas.rb
c80_map-0.1.0.22 db/migrate/20160620040225_create_c80_map_areas.rb
c80_map-0.1.0.21 db/migrate/20160620040225_create_c80_map_areas.rb
c80_map-0.1.0.20 db/migrate/20160620040225_create_c80_map_areas.rb
c80_map-0.1.0.19 db/migrate/20160620040225_create_c80_map_areas.rb
c80_map-0.1.0.18 db/migrate/20160620040225_create_c80_map_areas.rb
c80_map-0.1.0.17 db/migrate/20160620040225_create_c80_map_areas.rb
c80_map-0.1.0.16 db/migrate/20160620040225_create_c80_map_areas.rb
c80_map-0.1.0.15 db/migrate/20160620040225_create_c80_map_areas.rb
c80_map-0.1.0.14 db/migrate/20160620040225_create_c80_map_areas.rb
c80_map-0.1.0.13 db/migrate/20160620040225_create_c80_map_areas.rb
c80_map-0.1.0.12 db/migrate/20160620040225_create_c80_map_areas.rb
c80_map-0.1.0.11 db/migrate/20160620040225_create_c80_map_areas.rb
c80_map-0.1.0.10 db/migrate/20160620040225_create_c80_map_areas.rb