diff options
author | Yorick Peterse <yorickpeterse@gmail.com> | 2017-12-11 18:06:53 +0100 |
---|---|---|
committer | Yorick Peterse <yorickpeterse@gmail.com> | 2017-12-11 18:06:53 +0100 |
commit | d47bc70c102147ac6c3c6909fb903e1e962b0de7 (patch) | |
tree | 39e86e1043037887de8c256519ee124bb995a7d2 /db/post_migrate | |
parent | bd8b6518855bd9768ca5d245467b5ff0934e40b6 (diff) | |
download | gitlab-ce-d47bc70c102147ac6c3c6909fb903e1e962b0de7.tar.gz |
Fix migration that removes issues.branch_namefix-remove-branch-name-migration
Diffstat (limited to 'db/post_migrate')
-rw-r--r-- | db/post_migrate/20171106154015_remove_issues_branch_name.rb | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/db/post_migrate/20171106154015_remove_issues_branch_name.rb b/db/post_migrate/20171106154015_remove_issues_branch_name.rb new file mode 100644 index 00000000000..3d08225c96d --- /dev/null +++ b/db/post_migrate/20171106154015_remove_issues_branch_name.rb @@ -0,0 +1,13 @@ +# 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 |