70b8aa8dbb
Fix migration that removes issues.branch_name See merge request gitlab-org/gitlab-ce!15858
14 lines
434 B
Ruby
14 lines
434 B
Ruby
# rubocop:disable Migration/RemoveColumn
|
|
# See http://doc.gitlab.com/ce/development/migration_style_guide.html
|
|
# for more information on how to write migrations for GitLab.
|
|
|
|
class RemoveIssuesBranchName < ActiveRecord::Migration
|
|
include Gitlab::Database::MigrationHelpers
|
|
|
|
# Set this constant to true if this migration requires downtime.
|
|
DOWNTIME = false
|
|
|
|
def change
|
|
remove_column :issues, :branch_name, :string
|
|
end
|
|
end
|