summaryrefslogtreecommitdiff
path: root/db/post_migrate/20181008145359_remove_web_hooks_token_and_url.rb
blob: 0c44bca5f1a9ffa2cf943e2cd38bf2d35db34ab4 (plain)
1
2
3
4
5
6
7
8
9
10
class RemoveWebHooksTokenAndUrl < ActiveRecord::Migration
  include Gitlab::Database::MigrationHelpers

  DOWNTIME = false

  def change
    remove_column :web_hooks, :token, :string
    remove_column :web_hooks, :url, :string, limit: 2000
  end
end