Class: Counter::Change

Inherits:
ApplicationRecord
  • Object
show all
Defined in:
app/models/counter/change.rb

Overview

Schema Information

Table name: counter_changes

id               :integer          not null, primary key
counter_value_id :integer          indexed
amount           :integer
processed_at     :datetime         indexed
created_at       :datetime         not null
updated_at       :datetime         not null

Class Method Summary collapse

Class Method Details

.table_name_prefixObject



13
14
15
# File 'app/models/counter/change.rb', line 13

def self.table_name_prefix
  "counter_"
end