2019-10-03 00:05:59 +00:00
|
|
|
# frozen_string_literal: true
|
|
|
|
|
|
|
|
class AddPullMirrorBranchPrefixToProjects < ActiveRecord::Migration[5.2]
|
|
|
|
DOWNTIME = false
|
|
|
|
|
2020-04-21 15:21:10 +00:00
|
|
|
# rubocop:disable Migration/AddColumnsToWideTables
|
|
|
|
# rubocop:disable Migration/PreventStrings
|
2019-10-03 00:05:59 +00:00
|
|
|
def change
|
2020-04-21 15:21:10 +00:00
|
|
|
add_column :projects, :pull_mirror_branch_prefix, :string, limit: 50
|
2019-10-03 00:05:59 +00:00
|
|
|
end
|
2020-04-21 15:21:10 +00:00
|
|
|
# rubocop:enable Migration/PreventStrings
|
|
|
|
# rubocop:enable Migration/AddColumnsToWideTables
|
2019-10-03 00:05:59 +00:00
|
|
|
end
|