Sha256: 65345412d0481591bbaddd155dc4a79c0280da26ea98842306ed716c11f26a17

Contents?: true

Size: 847 Bytes

Versions: 8

Compression:

Stored size: 847 Bytes

Contents

class Phobos02CreateFailures < ActiveRecord::Migration[<%= ActiveRecord::VERSION::STRING.to_f %>]
  def up
    create_table :phobos_db_checkpoint_failures do |t|
      t.timestamp :created_at,     index: true
      t.string    :topic,          index: true
      t.string    :group_id,       index: true
      t.string    :entity_id,      index: true
      t.timestamp :event_time,     index: true
      t.string    :event_type,     index: true
      t.string    :event_version,  index: true
      t.string    :checksum,       index: true
      t.json      :payload,        index: false
      t.json      :metadata,       index: false
      t.string    :error_class,    index: false
      t.string    :error_message,  index: false
      t.json      :error_backtrace
    end
  end

  def down
    drop_table :phobos_db_checkpoint_failures
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
phobos_db_checkpoint-3.4.0 templates/migrate/phobos_02_create_failures.rb.erb
phobos_db_checkpoint-3.3.0 templates/migrate/phobos_02_create_failures.rb.erb
phobos_db_checkpoint-3.2.0 templates/migrate/phobos_02_create_failures.rb.erb
phobos_db_checkpoint-3.1.0 templates/migrate/phobos_02_create_failures.rb.erb
phobos_db_checkpoint-3.0.0 templates/migrate/phobos_02_create_failures.rb.erb
phobos_db_checkpoint-2.4.0 templates/migrate/phobos_02_create_failures.rb.erb
phobos_db_checkpoint-2.3.1 templates/migrate/phobos_02_create_failures.rb.erb
phobos_db_checkpoint-2.3.0 templates/migrate/phobos_02_create_failures.rb.erb