Sha256: 0b3055071b4a45cc3c2ab8a5be0caf7cb9edf744005e9c2e1c64f7a73eaf98c7

Contents?: true

Size: 640 Bytes

Versions: 6

Compression:

Stored size: 640 Bytes

Contents

class CreateExternalServicesApiActions < ActiveRecord::Migration<%= migration_version %>
  def change
    create_table :external_services_api_actions do |t|
      t.references :initiator, null: false, polymorphic: true, index: { name: 'esaa_on_initiator_type_and_initiator_id' }
      t.string     :type,      null: false

      t.string     :name
      t.string     :method,    null: false
      t.string     :path,      null: false
      t.text       :data
      t.string     :signature
      t.string     :queue, null: false

      t.text       :options

      t.timestamp  :created_at
      t.timestamp  :processed_at
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
external_services-0.5.4 lib/generators/templates/migrations/create_external_services_api_actions.rb
external_services-0.5.2 lib/generators/templates/migrations/create_external_services_api_actions.rb
external_services-0.5.1 lib/generators/templates/migrations/create_external_services_api_actions.rb
external_services-0.5.0 lib/generators/templates/migrations/create_external_services_api_actions.rb
external_services-0.4.4 lib/generators/templates/migrations/create_external_services_api_actions.rb
external_services-0.4.3 lib/generators/templates/migrations/create_external_services_api_actions.rb