summaryrefslogtreecommitdiff
path: root/db/migrate/20180607071808_add_push_events_branch_filter_to_web_hooks.rb
blob: 42bb0a784bb012392f9e17b0217d8da696b5c6b7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
# See http://doc.gitlab.com/ce/development/migration_style_guide.html
# for more information on how to write migrations for GitLab.

class AddPushEventsBranchFilterToWebHooks < ActiveRecord::Migration[4.2]
  include Gitlab::Database::MigrationHelpers

  DOWNTIME = false

  def change
    add_column :web_hooks, :push_events_branch_filter, :text # rubocop:disable Migration/AddLimitToTextColumns
  end
end