refactor: remove metadata field from outboxable templates.

This commit is contained in:
Muhammad Nawzad 2026-01-18 10:06:03 +03:00
parent 46f56a4a08
commit f9bfeac427
No known key found for this signature in database
GPG Key ID: B954B6AAE33940B2
2 changed files with 0 additions and 2 deletions

View File

@ -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

View File

@ -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' })