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

  DOWNTIME = false

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