debian-mirror-gitlab/db/migrate/20200401095430_add_jsonb_to_geo_node_status_table.rb
2020-04-22 19:07:51 +05:30

15 lines
374 B
Ruby

# frozen_string_literal: true
# See https://docs.gitlab.com/ee/development/migration_style_guide.html
# for more information on how to write migrations for GitLab.
class AddJsonbToGeoNodeStatusTable < ActiveRecord::Migration[6.0]
DOWNTIME = false
def change
change_table :geo_node_statuses do |t|
t.jsonb :status, null: false, default: {}
end
end
end