mirror of
https://github.com/Freika/dawarich.git
synced 2026-01-10 17:21:38 -05:00
8 lines
222 B
Ruby
8 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
|