debian-mirror-gitlab/db/migrate/20190924124627_add_pull_mirror_branch_prefix_to_projects.rb

14 lines
414 B
Ruby
Raw Normal View History

2019-12-21 20:55:43 +05:30
# frozen_string_literal: true
class AddPullMirrorBranchPrefixToProjects < ActiveRecord::Migration[5.2]
DOWNTIME = false
2020-05-24 23:13:21 +05:30
# rubocop:disable Migration/AddColumnsToWideTables
# rubocop:disable Migration/PreventStrings
2019-12-21 20:55:43 +05:30
def change
2020-05-24 23:13:21 +05:30
add_column :projects, :pull_mirror_branch_prefix, :string, limit: 50
2019-12-21 20:55:43 +05:30
end
2020-05-24 23:13:21 +05:30
# rubocop:enable Migration/PreventStrings
# rubocop:enable Migration/AddColumnsToWideTables
2019-12-21 20:55:43 +05:30
end