Sha256: 9c2211dae14f8a673cb7ad2ab47cfbb9616980f214a3d238751b9871bef512ef

Contents?: true

Size: 686 Bytes

Versions: 1

Compression:

Stored size: 686 Bytes

Contents

Sequel.migration do
  change do
    create_table :dispatches do
      uuid      :uuid,          primary_key: true
      inet      :host,          null: false
      integer   :port,          null: false
      string    :prot,          null: false
      timestamp :dispatched_at, null: false
      foreign_key :client_uuid,  :clients,  index: true, null: false,
                                            type: :uuid
      foreign_key :project_uuid, :projects, index: true, null: false,
                                            type: :uuid
      foreign_key :task_uuid,    :tasks,    index: true, null: false,
                                            type: :uuid
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
kamerling-0.0.3 lib/kamerling/migrations/3_dispatches.rb