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