mirror of
https://github.com/Freika/dawarich.git
synced 2026-01-10 17:21:38 -05:00
9 lines
236 B
Ruby
9 lines
236 B
Ruby
# frozen_string_literal: true
|
|
|
|
class AddVisitedCountriesToTrips < ActiveRecord::Migration[8.0]
|
|
def change
|
|
execute <<-SQL
|
|
ALTER TABLE trips ADD COLUMN visited_countries JSONB DEFAULT '{}'::jsonb NOT NULL;
|
|
SQL
|
|
end
|
|
end
|