blob: 70c6b6603189f02458c0ca7e0048c964ba91c98d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
# frozen_string_literal: true
class DropBuildCoverageRegexFromProject < Gitlab::Database::Migration[2.0]
enable_lock_retries!
def up
remove_column :projects, :build_coverage_regex
end
def down
add_column :projects, :build_coverage_regex, :string # rubocop: disable Migration/AddColumnsToWideTables
end
end
|