mirror of
https://github.com/Freika/dawarich.git
synced 2026-01-10 01:01:39 -05:00
7 lines
182 B
Ruby
7 lines
182 B
Ruby
# frozen_string_literal: true
|
|
|
|
class EnablePostgisExtension < ActiveRecord::Migration[8.0]
|
|
def change
|
|
enable_extension 'postgis' unless extension_enabled?('postgis')
|
|
end
|
|
end
|