summaryrefslogtreecommitdiff
path: root/db/migrate/20190924124627_add_pull_mirror_branch_prefix_to_projects.rb
blob: 2750468834f84e16d4d051a53058503042945aa6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
# 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