diff options
Diffstat (limited to 'db/migrate/20200513235347_fill_store_uploads.rb')
-rw-r--r-- | db/migrate/20200513235347_fill_store_uploads.rb | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/db/migrate/20200513235347_fill_store_uploads.rb b/db/migrate/20200513235347_fill_store_uploads.rb deleted file mode 100644 index 42db5e4cc08..00000000000 --- a/db/migrate/20200513235347_fill_store_uploads.rb +++ /dev/null @@ -1,19 +0,0 @@ -# frozen_string_literal: true - -class FillStoreUploads < ActiveRecord::Migration[6.0] - include Gitlab::Database::MigrationHelpers - - DOWNTIME = false - - disable_ddl_transaction! - - def up - update_column_in_batches(:uploads, :store, 1) do |table, query| - query.where(table[:store].eq(nil)) - end - end - - def down - # no-op - end -end |