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

20200527151413_create_ci_build_report_results_table.rb « migrate « db - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 7f854dd48912b55bb2c0889e1c0cf7a355d3ef42 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
# frozen_string_literal: true

class CreateCiBuildReportResultsTable < ActiveRecord::Migration[6.0]
  DOWNTIME = false

  def change
    create_table :ci_build_report_results, id: false do |t|
      t.bigint :build_id, null: false, index: false, primary_key: true
      t.bigint :project_id, null: false, index: true
      t.jsonb :data, null: false, default: {}
    end
  end
end