Sha256: 845d1801f579b4b5b837d12b81027699d098400f4db3ee5d99a2683fb1b57c4f

Contents?: true

Size: 248 Bytes

Versions: 1

Compression:

Stored size: 248 Bytes

Contents

class CreatePlaces < ActiveRecord::Migration
  def self.up
    create_table :places do |t|
      t.float :lt
      t.float :lg
      t.float :lat
      t.float :lng
      t.timestamps
    end
  end

  def self.down
    drop_table :places
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
activerecord-postgres-earthdistance-0.1.0 test/app/db/migrate/20110225205131_create_places.rb