Skip to content

Commit 3d863b6

Browse files
authored
Merge pull request #61 from TaskarCenterAtUW/feature-run-postgis
Minor changes
2 parents e1834d1 + 8334193 commit 3d863b6

2 files changed

Lines changed: 3 additions & 2 deletions

File tree

config/database.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ development:
77
password: <%= ENV['WS_OSM_DB_PASS'] %>
88
database: <%= ENV['WS_OSM_DB_NAME'] %>
99
encoding: utf8
10+
schema_search_path: 'public'
1011

1112
# Warning: The database defined as 'test' will be erased and
1213
# re-generated from your development database when you run 'rake'.

config/initializers/apartment.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -103,15 +103,15 @@
103103
# schema.rb, like materialized views etc. (only applies with use_schemas set to true).
104104
# (Note: this option doesn't use db/structure.sql, it creates SQL dump by executing pg_dump)
105105
#
106-
config.use_sql = false
106+
config.use_sql = true
107107

108108
# There are cases where you might want some schemas to always be in your search_path
109109
# e.g when using a PostgreSQL extension like hstore.
110110
# Any schemas added here will be available along with your selected Tenant.
111111
#
112112
# config.persistent_schemas = %w{ hstore }
113113
# Ensure postgis is always in the search path, so that we can use PostGIS functions in our queries
114-
# config.persistent_schemas = %w{ postgis, public }
114+
config.persistent_schemas = %w{ public, shared_extensions }
115115

116116
# <== PostgreSQL only options
117117
#

0 commit comments

Comments
 (0)