Sha256: df615b0ad0e91dec2cec822d55d43371132cb713c02446143e7b8bc357ef227b
Contents?: true
Size: 668 Bytes
Versions: 3
Compression:
Stored size: 668 Bytes
Contents
class CreateDbPlaces < ActiveRecord::Migration[5.0] def change create_table :db_places do |t| t.string :label #name t.float :latitude t.float :longitude t.string :zip_code t.string :street_number t.string :street t.float :area # square miles t.boolean :earth t.boolean :space t.string :country t.string :state t.integer :north t.integer :south t.integer :east t.integer :west t.integer :up t.integer :down t.text :description t.string :place_type # human readable type such as city, ocean, street, etc t.timestamps end end end
Version data entries
3 entries across 3 versions & 1 rubygems