debian-mirror-gitlab/db/migrate/20190924124627_add_pull_mirror_branch_prefix_to_projects.rb
2020-04-22 19:07:51 +05:30

9 lines
271 B
Ruby

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