Sha256: 0087e2879f12e40bf808e3ea7378c4e8c2a76efef68891a73698ba4ea2230dcb

Contents?: true

Size: 364 Bytes

Versions: 13

Compression:

Stored size: 364 Bytes

Contents

class SpecifyVenuesLatitudeAndLongitudePrecision < ActiveRecord::Migration
  def up
    change_column :venues, :latitude,  :decimal, :precision => 7, :scale => 4
    change_column :venues, :longitude, :decimal, :precision => 7, :scale => 4
  end

  def down
    change_column :venues, :latitude,  :decimal
    change_column :venues, :longitude, :decimal
  end
end

Version data entries

13 entries across 13 versions & 2 rubygems

Version Path
calagator-1.0.0 db/migrate/20120831234448_specify_venues_latitude_and_longitude_precision.rb
grokus-1.0.0.9 db/migrate/20120831234448_specify_venues_latitude_and_longitude_precision.rb
grokus-1.0.0.8 db/migrate/20120831234448_specify_venues_latitude_and_longitude_precision.rb
grokus-1.0.0.7 db/migrate/20120831234448_specify_venues_latitude_and_longitude_precision.rb
grokus-1.0.0.6 db/migrate/20120831234448_specify_venues_latitude_and_longitude_precision.rb
grokus-1.0.0.5 db/migrate/20120831234448_specify_venues_latitude_and_longitude_precision.rb
grokus-1.0.0.3 db/migrate/20120831234448_specify_venues_latitude_and_longitude_precision.rb
grokus-1.0.0.2 db/migrate/20120831234448_specify_venues_latitude_and_longitude_precision.rb
grokus-1.0.0.1 db/migrate/20120831234448_specify_venues_latitude_and_longitude_precision.rb
calagator-1.0.0.rc3 db/migrate/20120831234448_specify_venues_latitude_and_longitude_precision.rb
calagator-1.0.0.rc2 db/migrate/20120831234448_specify_venues_latitude_and_longitude_precision.rb
calagator-1.0.0.rc1 db/migrate/20120831234448_specify_venues_latitude_and_longitude_precision.rb
calagator-0.0.1.pre1 db/migrate/20120831234448_specify_venues_latitude_and_longitude_precision.rb