Sha256: f3cd366798ed0384744ae674781e1582b7cccfeb9bff619a00581edae944a6e5

Contents?: true

Size: 521 Bytes

Versions: 37

Compression:

Stored size: 521 Bytes

Contents

class CreateC80EstatePstats < ActiveRecord::Migration
  def change
    create_table :c80_estate_pstats, :options => 'COLLATE=utf8_unicode_ci' do |t|
      t.references :property, index: true
      t.references :atype, index: true
      t.references :sevent, index: true
      t.references :parent, index: true
      t.integer :free_areas
      t.integer :busy_areas
      t.integer :coef_busy
      t.integer :free_areas_sq
      t.integer :busy_areas_sq
      t.integer :coef_busy_sq
      t.timestamps
    end
  end
end

Version data entries

37 entries across 37 versions & 1 rubygems

Version Path
c80_estate-0.1.0.19 db/migrate/20160717094647_create_c80_estate_pstats.rb
c80_estate-0.1.0.18 db/migrate/20160717094647_create_c80_estate_pstats.rb
c80_estate-0.1.0.17 db/migrate/20160717094647_create_c80_estate_pstats.rb
c80_estate-0.1.0.16 db/migrate/20160717094647_create_c80_estate_pstats.rb
c80_estate-0.1.0.15 db/migrate/20160717094647_create_c80_estate_pstats.rb
c80_estate-0.1.0.14 db/migrate/20160717094647_create_c80_estate_pstats.rb
c80_estate-0.1.0.13 db/migrate/20160717094647_create_c80_estate_pstats.rb
c80_estate-0.1.0.12 db/migrate/20160717094647_create_c80_estate_pstats.rb
c80_estate-0.1.0.11 db/migrate/20160717094647_create_c80_estate_pstats.rb
c80_estate-0.1.0.10 db/migrate/20160717094647_create_c80_estate_pstats.rb
c80_estate-0.1.0.9 db/migrate/20160717094647_create_c80_estate_pstats.rb
c80_estate-0.1.0.8 db/migrate/20160717094647_create_c80_estate_pstats.rb
c80_estate-0.1.0.7 db/migrate/20160717094647_create_c80_estate_pstats.rb
c80_estate-0.1.0.6 db/migrate/20160717094647_create_c80_estate_pstats.rb
c80_estate-0.1.0.5 db/migrate/20160717094647_create_c80_estate_pstats.rb
c80_estate-0.1.0.4 db/migrate/20160717094647_create_c80_estate_pstats.rb
c80_estate-0.1.0.3 db/migrate/20160717094647_create_c80_estate_pstats.rb