From c36152ff8c41fad2f413f253eb7ac5c927e47c56 Mon Sep 17 00:00:00 2001 From: GitLab Bot Date: Fri, 13 Mar 2020 15:09:21 +0000 Subject: Add latest changes from gitlab-org/gitlab@master --- ...20200309162244_add_open_project_tracker_data.rb | 23 ++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 db/migrate/20200309162244_add_open_project_tracker_data.rb (limited to 'db/migrate/20200309162244_add_open_project_tracker_data.rb') diff --git a/db/migrate/20200309162244_add_open_project_tracker_data.rb b/db/migrate/20200309162244_add_open_project_tracker_data.rb new file mode 100644 index 00000000000..672dde4d518 --- /dev/null +++ b/db/migrate/20200309162244_add_open_project_tracker_data.rb @@ -0,0 +1,23 @@ +# 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 AddOpenProjectTrackerData < ActiveRecord::Migration[6.0] + DOWNTIME = false + + def change + create_table :open_project_tracker_data do |t| + t.references :service, foreign_key: { on_delete: :cascade }, type: :integer, index: true, null: false + t.timestamps_with_timezone + t.string :encrypted_url, limit: 255 + t.string :encrypted_url_iv, limit: 255 + t.string :encrypted_api_url, limit: 255 + t.string :encrypted_api_url_iv, limit: 255 + t.string :encrypted_token, limit: 255 + t.string :encrypted_token_iv, limit: 255 + t.string :closed_status_id, limit: 5 + t.string :project_identifier_code, limit: 100 + end + end +end -- cgit v1.2.1