Добавление миграций БД и моделей
This commit is contained in:
@@ -0,0 +1,6 @@
|
||||
class FinancialStatement < ApplicationRecord
|
||||
belongs_to :yearly_file
|
||||
belongs_to :document_type
|
||||
|
||||
validates :data, presence: true
|
||||
end
|
||||
Reference in New Issue
Block a user