main
1class CreateAgents < ActiveRecord::Migration
2  def change
3    create_table :agents, id: :uuid, default: 'uuid_generate_v4()' do |t|
4      t.string :hostname
5
6      t.timestamps null: false
7    end
8  end
9end