summaryrefslogtreecommitdiff
path: root/db/post_migrate/20200706154619_drop_ci_daily_report_results_table.rb
diff options
context:
space:
mode:
Diffstat (limited to 'db/post_migrate/20200706154619_drop_ci_daily_report_results_table.rb')
-rw-r--r--db/post_migrate/20200706154619_drop_ci_daily_report_results_table.rb24
1 files changed, 0 insertions, 24 deletions
diff --git a/db/post_migrate/20200706154619_drop_ci_daily_report_results_table.rb b/db/post_migrate/20200706154619_drop_ci_daily_report_results_table.rb
deleted file mode 100644
index c6ce52012d6..00000000000
--- a/db/post_migrate/20200706154619_drop_ci_daily_report_results_table.rb
+++ /dev/null
@@ -1,24 +0,0 @@
-# frozen_string_literal: true
-
-class DropCiDailyReportResultsTable < ActiveRecord::Migration[6.0]
- DOWNTIME = false
-
- def up
- drop_table :ci_daily_report_results
- end
-
- def down
- create_table :ci_daily_report_results do |t|
- t.date :date, null: false
- t.bigint :project_id, null: false
- t.bigint :last_pipeline_id, null: false
- t.float :value, null: false
- t.integer :param_type, limit: 8, null: false
- t.string :ref_path, null: false
- t.string :title, null: false
-
- t.index :last_pipeline_id
- t.index [:project_id, :ref_path, :param_type, :date, :title], name: 'index_daily_report_results_unique_columns', unique: true
- end
- end
-end