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
6 lines
130 B
Ruby
6 lines
130 B
Ruby
class Entropy < ApplicationRecord
|
|
belongs_to :container, polymorphic: true
|
|
|
|
after_commit -> { container.cards.touch_all }
|
|
end
|