# frozen_string_literal: true## It's expected to delete one record on GitLab.com#classRemoveEmptyGithubServiceTemplates<ActiveRecord::Migration[5.2]DOWNTIME=falseclassService<ActiveRecord::Baseself.table_name='services'self.inheritance_column=:_type_disabledserialize:properties,JSONenddefuprelationship.where(properties: {}).delete_allenddefdownrelationship.find_or_create_by!(properties: {})endprivatedefrelationshipRemoveEmptyGithubServiceTemplates::Service.where(template: true,type: 'GithubService')endend