debian-mirror-gitlab/db/post_migrate/20181008145359_remove_web_hooks_token_and_url.rb

11 lines
255 B
Ruby
Raw Normal View History

2019-02-15 15:39:39 +05:30
class RemoveWebHooksTokenAndUrl < ActiveRecord::Migration[4.2]
2018-12-13 13:39:08 +05:30
include Gitlab::Database::MigrationHelpers
DOWNTIME = false
def change
remove_column :web_hooks, :token, :string
remove_column :web_hooks, :url, :string, limit: 2000
end
end