Sha256: 4eb1026fd61f3a207c672a9fa2e0c19bc862b809c68b204aba8428f492bdf6d6
Contents?: true
Size: 328 Bytes
Versions: 1
Compression:
Stored size: 328 Bytes
Contents
class SetupEarthdistance < ActiveRecord::Migration<%= migration_version %> 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
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
activerecord-postgres-earthdistance-0.7.2 | lib/templates/setup_earthdistance.rb |