diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2020-04-10 15:09:36 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2020-04-10 15:09:36 +0300 |
commit | c6a33b298229f9e04933be43d6176c476ef03012 (patch) | |
tree | 66b336ef374b813d6e9c7f6a19264060a1f23f91 /db/migrate | |
parent | c52b81f45762cb7f05a950689dfc6d51b197ea73 (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'db/migrate')
-rw-r--r-- | db/migrate/20200401095430_add_jsonb_to_geo_node_status_table.rb | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/db/migrate/20200401095430_add_jsonb_to_geo_node_status_table.rb b/db/migrate/20200401095430_add_jsonb_to_geo_node_status_table.rb new file mode 100644 index 00000000000..46eb826341c --- /dev/null +++ b/db/migrate/20200401095430_add_jsonb_to_geo_node_status_table.rb @@ -0,0 +1,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 |