Confused. I have some code in a migration that only works when I run rake db:rollback db:migrate
but not if I run rake db:rollback
then rake db:migrate
.
Migration:
# ...add_latitude_and_longitude_to_organisation.rb
class AddLatitudeAndLongitudeToOrganisation < ActiveRecord::Migration
def up
add_column :organisations, :latitude, :float
add_column :organisations, :longitude, :float