mirror of
https://github.com/Freika/dawarich.git
synced 2026-01-10 01:01:39 -05:00
Enable PostGIS extension only if it's not already enabled
This commit is contained in:
parent
7697b8c43b
commit
eae06f623f
2 changed files with 2 additions and 1 deletions
|
|
@ -46,6 +46,7 @@ If you're running your own Photon instance, you can safely set `STORE_GEODATA` t
|
|||
- Fixed a bug with an attempt to write points with same lonlat and timestamp from iOS app. #1170
|
||||
- Importing GeoJSON files now saves velocity if it was stored in either `velocity` or `speed` property.
|
||||
- `rake points:migrate_to_lonlat` should work properly now. #1083 #1161
|
||||
- PostGIS extension is now being enabled only if it's not already enabled. #1186
|
||||
|
||||
|
||||
# 0.26.0 - 2025-05-08
|
||||
|
|
|
|||
|
|
@ -2,6 +2,6 @@
|
|||
|
||||
class EnablePostgisExtension < ActiveRecord::Migration[8.0]
|
||||
def change
|
||||
enable_extension 'postgis'
|
||||
enable_extension 'postgis' unless extension_enabled?('postgis')
|
||||
end
|
||||
end
|
||||
|
|
|
|||
Loading…
Reference in a new issue