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

11 lines
250 B
Ruby
Raw Normal View History

2019-01-03 12:48:30 +05:30
class RemoveWebHooksTokenAndUrl < ActiveRecord::Migration
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