diff options
Diffstat (limited to 'db/post_migrate/20200106071113_update_fingerprint_sha256_within_keys.rb')
-rw-r--r-- | db/post_migrate/20200106071113_update_fingerprint_sha256_within_keys.rb | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/db/post_migrate/20200106071113_update_fingerprint_sha256_within_keys.rb b/db/post_migrate/20200106071113_update_fingerprint_sha256_within_keys.rb deleted file mode 100644 index 06f5c881006..00000000000 --- a/db/post_migrate/20200106071113_update_fingerprint_sha256_within_keys.rb +++ /dev/null @@ -1,22 +0,0 @@ -# frozen_string_literal: true - -class UpdateFingerprintSha256WithinKeys < ActiveRecord::Migration[5.0] - include Gitlab::Database::MigrationHelpers - - class Key < ActiveRecord::Base - include EachBatch - - self.table_name = 'keys' - self.inheritance_column = :_type_disabled - end - - disable_ddl_transaction! - - def up - queue_background_migration_jobs_by_range_at_intervals(Key, 'MigrateFingerprintSha256WithinKeys', 5.minutes) - end - - def down - # no-op - end -end |