Sha256: 2f9bb77ad000682eefda86167233e79a6766585b2da16b843539aa2d3415f978
Contents?: true
Size: 575 Bytes
Versions: 1
Compression:
Stored size: 575 Bytes
Contents
class AddPointsOfInterest < ActiveRecord::Migration[4.2] def change create_table :g5_updatable_points_of_interest do |t| t.belongs_to :g5_updatable_location t.string "place_id" t.string "name" t.string "address" t.string "city" t.string "state" t.string "postal_code" t.string "location_type" t.float "latitude" t.float "longitude" t.timestamps end add_index :g5_updatable_points_of_interest, :g5_updatable_location_id, name: 'index_g5_updatable_poi_location_id' end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
g5_updatable-1.0.2.pre.1 | db/migrate/20170422000000_add_points_of_interest.rb |