1 class CreateVirtualMachines < ActiveRecord::Migration
3 create_table :virtual_machines do |t|
4 t.string :uuid, :null => false
5 t.string :owner, :null => false
6 t.string :modified_by_client
7 t.string :modified_by_user
8 t.datetime :modified_at
13 add_index :virtual_machines, :uuid, :unique => true
14 add_index :virtual_machines, :hostname