2019-02-15 15:39:39 +05:30
|
|
|
class AddConfidentialNoteEventsToWebHooks < ActiveRecord::Migration[4.2]
|
2018-04-05 14:03:07 +05:30
|
|
|
include Gitlab::Database::MigrationHelpers
|
|
|
|
|
|
|
|
DOWNTIME = false
|
|
|
|
|
|
|
|
disable_ddl_transaction!
|
|
|
|
|
|
|
|
def up
|
|
|
|
add_column :web_hooks, :confidential_note_events, :boolean
|
|
|
|
end
|
|
|
|
|
|
|
|
def down
|
|
|
|
remove_column :web_hooks, :confidential_note_events
|
|
|
|
end
|
|
|
|
end
|