Sha256: 88093bd0d3961efea6c51011d85dfad41212ef87f29aa0899310a734876c43f3

Contents?: true

Size: 414 Bytes

Versions: 1

Compression:

Stored size: 414 Bytes

Contents

class CreateC80EstateProperties < ActiveRecord::Migration
  def change
    create_table :c80_estate_properties, :options => 'COLLATE=utf8_unicode_ci' do |t|
      t.string :title
      t.text :desc
      t.string :address
      t.string :latitude
      t.string :longitude
      t.string :owner_type
      t.references :owner, index: true
      t.references :atype, 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/20160629033535_create_c80_estate_properties.rb