c2d6822e94
Code improvements, bug fixes, finish documentation and specs
10 lines
336 B
Ruby
10 lines
336 B
Ruby
class RemoveInactiveJiraServiceProperties < ActiveRecord::Migration
|
|
include Gitlab::Database::MigrationHelpers
|
|
|
|
DOWNTIME = true
|
|
DOWNTIME_REASON = "Removes all inactive jira_service properties"
|
|
|
|
def up
|
|
execute("UPDATE services SET properties = '{}' WHERE services.type = 'JiraService' and services.active = false")
|
|
end
|
|
end
|