debian-mirror-gitlab/db/migrate/20190924124627_add_pull_mirror_branch_prefix_to_projects.rb
2020-05-24 23:13:21 +05:30

14 lines
414 B
Ruby

# frozen_string_literal: true
class AddPullMirrorBranchPrefixToProjects < ActiveRecord::Migration[5.2]
DOWNTIME = false
# rubocop:disable Migration/AddColumnsToWideTables
# rubocop:disable Migration/PreventStrings
def change
add_column :projects, :pull_mirror_branch_prefix, :string, limit: 50
end
# rubocop:enable Migration/PreventStrings
# rubocop:enable Migration/AddColumnsToWideTables
end