mirror of
https://github.com/Freika/dawarich.git
synced 2026-01-11 09:41:40 -05:00
9 lines
222 B
Ruby
9 lines
222 B
Ruby
|
|
# frozen_string_literal: true
|
||
|
|
|
||
|
|
class AddGeodataToPoints < ActiveRecord::Migration[7.1]
|
||
|
|
def change
|
||
|
|
add_column :points, :geodata, :jsonb, null: false, default: {}
|
||
|
|
add_index :points, :geodata, using: :gin
|
||
|
|
end
|
||
|
|
end
|