Sha256: f46c2afebfc9a4fa07d52f5f3205f10703f2754929bac0d8bfff1c31785416c3
Contents?: true
Size: 511 Bytes
Versions: 14
Compression:
Stored size: 511 Bytes
Contents
# frozen_string_literal: true # Adding acd ansible playbooks db table class AddAnsiblePlaybookId < ActiveRecord::Migration[5.2] def up add_column :app_definitions, :acd_ansible_playbook_id, :integer add_foreign_key 'app_definitions', 'acd_ansible_playbooks', :name => 'app_definitions_acd_ansible_playbooks_id_fk' end def down remove_foreign_key 'app_definitions', :name => 'app_definitions_acd_ansible_playbooks_id_fk' remove_column :app_definitions, :acd_ansible_playbook_id end end
Version data entries
14 entries across 14 versions & 1 rubygems