# frozen_string_literal: true

class AddVirtualMachineDefinitionRefToVirtualMachineInstance < ActiveRecord::Migration[5.0]
  def change
    add_reference :virtual_machine_instances, :virtual_machine_definition, index: { name: 'index_vm_instances_on_vm_definition_id' }
  end
end
