Welcome to mirror list, hosted at ThFree Co, Russian Federation.

20200401095430_add_jsonb_to_geo_node_status_table.rb « migrate « db - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 46eb826341c37911dce6c8c48527f179bbc7cc55 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
# 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