mirror of
https://github.com/ditkrg/outboxable.git
synced 2026-01-22 13:56:49 +00:00
refactor: remove metadata field from outboxable templates.
This commit is contained in:
parent
46f56a4a08
commit
f9bfeac427
@ -15,7 +15,6 @@ class CreateOutboxableOutboxes < ActiveRecord::Migration[7.0]
|
||||
|
||||
t.jsonb :payload, default: {}
|
||||
t.jsonb :headers, default: {}
|
||||
t.jsonb :metadata, default: {}, null: true
|
||||
|
||||
t.integer :size, null: false, default: 0
|
||||
|
||||
|
||||
@ -22,7 +22,6 @@ class Outbox
|
||||
|
||||
field :payload, type: Hash, default: {}
|
||||
field :headers, type: Hash, default: {}
|
||||
field :metadata, type: Hash, default: {}
|
||||
|
||||
index({ idempotency_key: 1 }, { unique: true, name: 'idempotency_key_unique_index' })
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user