diff options
Diffstat (limited to 'db/post_migrate/20210729192959_drop_ci_test_case_failures_table.rb')
-rw-r--r-- | db/post_migrate/20210729192959_drop_ci_test_case_failures_table.rb | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/db/post_migrate/20210729192959_drop_ci_test_case_failures_table.rb b/db/post_migrate/20210729192959_drop_ci_test_case_failures_table.rb deleted file mode 100644 index ad6676a1704..00000000000 --- a/db/post_migrate/20210729192959_drop_ci_test_case_failures_table.rb +++ /dev/null @@ -1,24 +0,0 @@ -# frozen_string_literal: true - -class DropCiTestCaseFailuresTable < ActiveRecord::Migration[6.1] - include Gitlab::Database::MigrationHelpers - - DOWNTIME = false - - disable_ddl_transaction! - - def up - drop_table :ci_test_case_failures - end - - def down - create_table :ci_test_case_failures do |t| - t.datetime_with_timezone :failed_at - t.bigint :test_case_id, null: false - t.bigint :build_id, null: false - - t.index [:test_case_id, :failed_at, :build_id], name: 'index_test_case_failures_unique_columns', unique: true, order: { failed_at: :desc } - t.index :build_id - end - end -end |