0b7d108514
* processes any pending records which are not migrated yet * bumps import_export version because of new commits_count attribute * removes commits_count fallback method
14 lines
263 B
Ruby
14 lines
263 B
Ruby
class CleanCommitsCountMigration < ActiveRecord::Migration
|
|
include Gitlab::Database::MigrationHelpers
|
|
|
|
DOWNTIME = false
|
|
|
|
disable_ddl_transaction!
|
|
|
|
def up
|
|
Gitlab::BackgroundMigration.steal('AddMergeRequestDiffCommitsCount')
|
|
end
|
|
|
|
def down
|
|
end
|
|
end
|