Update primary keys on customer data to UUIDs

- schema changes to primary and foreign keys
- fixture changes
- customer data models subclass AccountScopedRecord
- import script updated
This commit is contained in:
Mike Dalessio
2025-11-11 15:05:47 -05:00
parent ab35c730d0
commit e4011ef211
64 changed files with 608 additions and 494 deletions
+1 -1
View File
@@ -1,4 +1,4 @@
class Webhook::DelinquencyTracker < ApplicationRecord
class Webhook::DelinquencyTracker < AccountScopedRecord
DELINQUENCY_THRESHOLD = 10
DELINQUENCY_DURATION = 1.hour
+1 -1
View File
@@ -1,4 +1,4 @@
class Webhook::Delivery < ApplicationRecord
class Webhook::Delivery < AccountScopedRecord
STALE_TRESHOLD = 7.days
USER_AGENT = "fizzy/1.0.0 Webhook"
ENDPOINT_TIMEOUT = 7.seconds