fc56ad9d7c
- Switch to binary 16 for UUID keys - Remove AccountScopedRecord base class, all model use binary uuids now - Fix the search sql to serialize uuids properly - Patch the MySQL schema dumper to output binary lengths
7 lines
123 B
Ruby
7 lines
123 B
Ruby
class Pin < ApplicationRecord
|
|
belongs_to :card
|
|
belongs_to :user
|
|
|
|
scope :ordered, -> { order(created_at: :desc) }
|
|
end
|