summaryrefslogtreecommitdiff
path: root/db/migrate/20210306121300_partition_web_hook_logs.rb
diff options
context:
space:
mode:
Diffstat (limited to 'db/migrate/20210306121300_partition_web_hook_logs.rb')
-rw-r--r--db/migrate/20210306121300_partition_web_hook_logs.rb19
1 files changed, 0 insertions, 19 deletions
diff --git a/db/migrate/20210306121300_partition_web_hook_logs.rb b/db/migrate/20210306121300_partition_web_hook_logs.rb
deleted file mode 100644
index ff35a19648e..00000000000
--- a/db/migrate/20210306121300_partition_web_hook_logs.rb
+++ /dev/null
@@ -1,19 +0,0 @@
-# frozen_string_literal: true
-
-class PartitionWebHookLogs < ActiveRecord::Migration[6.0]
- include Gitlab::Database::MigrationHelpers
- include Gitlab::Database::PartitioningMigrationHelpers
-
- # Set this constant to true if this migration requires downtime.
- DOWNTIME = false
-
- disable_ddl_transaction!
-
- def up
- partition_table_by_date :web_hook_logs, :created_at
- end
-
- def down
- drop_partitioned_table_for :web_hook_logs
- end
-end