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

Version Path
dreaming_god-0.1.3 db/migrate/20170330032303_create_db_places.rb
dreaming_god-0.1.2 db/migrate/20170330032303_create_db_places.rb
dreaming_god-0.1.1 db/migrate/20170330032303_create_db_places.rb