Sha256: 9abd81b427a4ba01e5376e2444a00f2c540b13aa451e14b972556217f751e783

Contents?: true

Size: 430 Bytes

Versions: 1

Compression:

Stored size: 430 Bytes

Contents

# This migration comes from calagator (originally 20120831234448)
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

1 entries across 1 versions & 1 rubygems

Version Path
calagator-0.0.1.pre1 spec/dummy/db/migrate/20150309023332_specify_venues_latitude_and_longitude_precision.calagator.rb