Sha256: 15f3e944649b259460ed6a8478b0126758aa148f5b49ae4c064e1525e97f5427
Contents?: true
Size: 385 Bytes
Versions: 4
Compression:
Stored size: 385 Bytes
Contents
# frozen_string_literal: true class AddAnsibleCallbackEnabledToTemplates < ActiveRecord::Migration[6.0] def change add_column :templates, :ansible_callback_enabled, :boolean, default: false RemoteExecutionFeature.where(label: 'ansible_run_host').each do |rex_feature| Template.find(rex_feature.job_template_id).update(ansible_callback_enabled: true) end end end
Version data entries
4 entries across 4 versions & 1 rubygems