مراية لـ
https://github.com/postalserver/postal.git
تم المزامنة 2025-12-01 05:43:04 +00:00
initial commit from appmail
هذا الالتزام موجود في:
17
app/models/statistic.rb
Normal file
17
app/models/statistic.rb
Normal file
@@ -0,0 +1,17 @@
|
||||
# == Schema Information
|
||||
#
|
||||
# Table name: statistics
|
||||
#
|
||||
# id :integer not null, primary key
|
||||
# total_messages :integer default(0)
|
||||
# total_outgoing :integer default(0)
|
||||
# total_incoming :integer default(0)
|
||||
#
|
||||
|
||||
class Statistic < ApplicationRecord
|
||||
|
||||
def self.global
|
||||
Statistic.first || Statistic.create
|
||||
end
|
||||
|
||||
end
|
||||
المرجع في مشكلة جديدة
حظر مستخدم