Sha256: 2fb4e04ddbb941e2e7c385b7c258f972dfffb2ad86f1e87453773f12733ca115

Contents?: true

Size: 525 Bytes

Versions: 15

Compression:

Stored size: 525 Bytes

Contents

# frozen_string_literal: true

class AddRailwayIpcPublishedMessages < ActiveRecord::Migration
  def change
    create_table :railway_ipc_published_messages, id: false do |t|
      t.uuid :uuid, null: false
      t.string :message_type
      t.uuid :user_uuid
      t.uuid :correlation_id
      t.text :encoded_message
      t.string :status, null: false
      t.string :exchange

      t.datetime :updated_at
      t.datetime :inserted_at
    end

    add_index :railway_ipc_published_messages, :uuid, unique: true
  end
end

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
railway-ipc-5.0.0 priv/migrations/add_railway_ipc_published_messages.rb
railway-ipc-4.0.1 priv/migrations/add_railway_ipc_published_messages.rb
railway-ipc-4.0.0 priv/migrations/add_railway_ipc_published_messages.rb
railway-ipc-3.0.0 priv/migrations/add_railway_ipc_published_messages.rb
railway-ipc-2.2.2 priv/migrations/add_railway_ipc_published_messages.rb
railway-ipc-2.2.1 priv/migrations/add_railway_ipc_published_messages.rb
railway-ipc-2.2.0 priv/migrations/add_railway_ipc_published_messages.rb
railway-ipc-2.1.0 priv/migrations/add_railway_ipc_published_messages.rb
railway-ipc-2.0.3 priv/migrations/add_railway_ipc_published_messages.rb
railway-ipc-2.0.2 priv/migrations/add_railway_ipc_published_messages.rb
railway-ipc-2.0.1 priv/migrations/add_railway_ipc_published_messages.rb
railway-ipc-2.0.0 priv/migrations/add_railway_ipc_published_messages.rb
railway-ipc-1.1.0 priv/migrations/add_railway_ipc_published_messages.rb
railway-ipc-1.0.1 priv/migrations/add_railway_ipc_published_messages.rb
railway-ipc-1.0.0 priv/migrations/add_railway_ipc_published_messages.rb