Sha256: b5eb3b68d27fee191e36a4eb60e3c4822e253073db13e9fa5f4e7829f64dfedb

Contents?: true

Size: 435 Bytes

Versions: 3

Compression:

Stored size: 435 Bytes

Contents

Sequel.migration do
  up do
    run 'CREATE EXTENSION postgis;'
    run 'CREATE EXTENSION postgis_topology;'
    run 'CREATE EXTENSION fuzzystrmatch;'
    run 'CREATE EXTENSION postgis_tiger_geocoder;'
  end

  down do
    run 'DROP EXTENSION IF EXISTS postgis;'
    run 'DROP EXTENSION IF EXISTS postgis_topology;'
    run 'DROP EXTENSION IF EXISTS fuzzystrmatch;'
    run 'DROP EXTENSION IF EXISTS postgis_tiger_geocoder;'
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
daiku-0.2.2 lib/daiku/plugins/sequel/_templates/002_create_extension_postgis.rb.tt
daiku-0.2.1 lib/daiku/plugins/sequel/_templates/002_create_extension_postgis.rb.tt
daiku-0.2.0 lib/daiku/plugins/sequel/_templates/002_create_extension_postgis.rb.tt