Sha256: 21f091d5688c9c07591fd7b6c23286bac24d7b93d24bdb2443808e7953cd703b

Contents?: true

Size: 304 Bytes

Versions: 15

Compression:

Stored size: 304 Bytes

Contents

class SetupEarthdistance < ActiveRecord::Migration
  def self.up
    execute "CREATE EXTENSION IF NOT EXISTS cube"
    execute "CREATE EXTENSION IF NOT EXISTS earthdistance"
  end

  def self.down
    execute "DROP EXTENSION IF EXISTS earthdistance"
    execute "DROP EXTENSION IF EXISTS cube"
  end
end

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
activerecord-postgres-earthdistance-0.7.1 lib/templates/setup_earthdistance.rb
activerecord-postgres-earthdistance-0.7.0 lib/templates/setup_earthdistance.rb
activerecord-postgres-earthdistance-0.6.0 lib/templates/setup_earthdistance.rb
activerecord-postgres-earthdistance-0.5.2 lib/templates/setup_earthdistance.rb
activerecord-postgres-earthdistance-0.5.1 lib/templates/setup_earthdistance.rb
activerecord-postgres-earthdistance-0.5.0 lib/templates/setup_earthdistance.rb
activerecord-postgres-earthdistance-0.4.4 lib/templates/setup_earthdistance.rb
activerecord-postgres-earthdistance-0.4.3 lib/templates/setup_earthdistance.rb
activerecord-postgres-earthdistance-0.4.2 lib/templates/setup_earthdistance.rb
activerecord-postgres-earthdistance-0.4.1 lib/templates/setup_earthdistance.rb
activerecord-postgres-earthdistance-0.4.0 lib/templates/setup_earthdistance.rb
activerecord-postgres-earthdistance-0.3.2 lib/templates/setup_earthdistance.rb
activerecord-postgres-earthdistance-0.3.1 lib/templates/setup_earthdistance.rb
activerecord-postgres-earthdistance-0.3.0 lib/templates/setup_earthdistance.rb
activerecord-postgres-earthdistance-0.2.0 lib/templates/setup_earthdistance.rb