2018-12-23 12:14:25 +05:30
|
|
|
class AddConfidentialNoteEventsToServices < 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 :services, :confidential_note_events, :boolean
|
|
|
|
change_column_default :services, :confidential_note_events, true
|
|
|
|
end
|
|
|
|
|
|
|
|
def down
|
|
|
|
remove_column :services, :confidential_note_events
|
|
|
|
end
|
|
|
|
end
|