Commit 63143a78 authored by Furkan Ayhan's avatar Furkan Ayhan

Truncate ci_namespace_mirrors and ci_project_mirrors

We found a bug in processing sync events. After fixing it, we need to
repopulate tables. So, we are truncating them.

Changelog: other
parent 951313ad
# frozen_string_literal: true
class TruncateCiMirrorTables < Gitlab::Database::Migration[1.0]
disable_ddl_transaction!
def up
execute('TRUNCATE TABLE ci_namespace_mirrors')
execute('TRUNCATE TABLE ci_project_mirrors')
end
def down
# noop
end
end
69c20daf6a23346288e516df3e70120819d76dcb5fe2b1b51af416349311820b
\ No newline at end of file
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment