Sha256: 01ae85ca554be57781227663964db0474229c8fb43d5d525081cf8e0199d4f1a

Contents?: true

Size: 254 Bytes

Versions: 7

Compression:

Stored size: 254 Bytes

Contents

class AddLatAndLongToAddress < ActiveRecord::Migration
  def self.up
    add_column :addresses, :lat, :float
    add_column :addresses, :long, :float
  end

  def self.down
    remove_column :addresses, :lat
    remove_column :addresses, :long
  end
end

Version data entries

7 entries across 7 versions & 2 rubygems

Version Path
has_many_polymorphs-2.11 test/integration/app/db/migrate/007_add_lat_and_long_to_address.rb
ultrasphinx-1.6.7 test/integration/app/db/migrate/007_add_lat_and_long_to_address.rb
ultrasphinx-1.5.3 test/integration/app/db/migrate/007_add_lat_and_long_to_address.rb
ultrasphinx-1.7 test/integration/app/db/migrate/007_add_lat_and_long_to_address.rb
ultrasphinx-1.8 test/integration/app/db/migrate/007_add_lat_and_long_to_address.rb
ultrasphinx-1.9 test/integration/app/db/migrate/007_add_lat_and_long_to_address.rb
ultrasphinx-1.6 test/integration/app/db/migrate/007_add_lat_and_long_to_address.rb