Реализация Page и DataCardWidget

This commit is contained in:
Даниил Музыченко
2026-06-08 22:55:30 +04:00
commit 68da4d2031
117 changed files with 9685 additions and 0 deletions
+3
View File
@@ -0,0 +1,3 @@
class ApplicationRecord < ActiveRecord::Base
primary_abstract_class
end
+6
View File
@@ -0,0 +1,6 @@
class Channel < ApplicationRecord
self.table_name = "channels"
self.inheritance_column = nil
has_many :histories, -> { order(event_date: :asc) }
end
View File
+5
View File
@@ -0,0 +1,5 @@
class History < ApplicationRecord
self.table_name = "histories"
belongs_to :channel
end