use uuid v7

This commit is contained in:
Pete Matsyburka committed 2026-10-27 11:24:42 +02:00
1 parent d3c92cecfa
commit e22a3d9ef3
4 files changed
+5 -5

No files matched your search

+1 -1
View File
@@ -22,7 +22,7 @@
# index_webhook_events_on_webhook_url_id_and_id (webhook_url_id,id)
#
class WebhookEvent < ApplicationRecord
attribute :uuid, :string, default: -> { SecureRandom.uuid }
attribute :uuid, :string, default: -> { SecureRandom.uuid_v7 }
belongs_to :webhook_url, optional: true
belongs_to :account, optional: true