Files
fizzy/app/models/pin.rb
T
Mike Dalessio e4011ef211 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
2025-11-17 09:12:30 -05:00

7 lines
125 B
Ruby

class Pin < AccountScopedRecord
belongs_to :card
belongs_to :user
scope :ordered, -> { order(created_at: :desc) }
end