Sha256: 104e6c4b34e9c7f38cb730babf4a7b6f9f46161f2d1e03aa3c908c1030a31f17

Contents?: true

Size: 371 Bytes

Versions: 1

Compression:

Stored size: 371 Bytes

Contents

class CreateC80EstateAreas < ActiveRecord::Migration
  def change
    create_table :c80_estate_areas, :options => 'COLLATE=utf8_unicode_ci' do |t|
      t.string :title
      t.text :desc
      t.references :property, index: true
      t.references :atype, index: true
      t.string :owner_type
      t.references :owner, index: true
      t.timestamps
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
c80_estate-0.1.0 db/migrate/20160629033533_create_c80_estate_areas.rb