diff options
Diffstat (limited to 'db/migrate/20200527151413_create_ci_build_report_results_table.rb')
-rw-r--r-- | db/migrate/20200527151413_create_ci_build_report_results_table.rb | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/db/migrate/20200527151413_create_ci_build_report_results_table.rb b/db/migrate/20200527151413_create_ci_build_report_results_table.rb new file mode 100644 index 00000000000..7f854dd4891 --- /dev/null +++ b/db/migrate/20200527151413_create_ci_build_report_results_table.rb @@ -0,0 +1,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 |