diff options
Diffstat (limited to 'db/migrate/20200716120000_partition_audit_events.rb')
-rw-r--r-- | db/migrate/20200716120000_partition_audit_events.rb | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/db/migrate/20200716120000_partition_audit_events.rb b/db/migrate/20200716120000_partition_audit_events.rb deleted file mode 100644 index aef090339ea..00000000000 --- a/db/migrate/20200716120000_partition_audit_events.rb +++ /dev/null @@ -1,19 +0,0 @@ -# frozen_string_literal: true - -class PartitionAuditEvents < 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 :audit_events, :created_at - end - - def down - drop_partitioned_table_for :audit_events - end -end |