SU2-19 | Парсинг двух форм, пока без понимания того, что делать с расхожениями в данных (обе формы в одном файле)

This commit is contained in:
Dmitry
2026-03-21 15:26:37 +03:00
parent dcba938feb
commit 207e4b45a7
7 changed files with 473 additions and 66 deletions
@@ -0,0 +1,9 @@
class AddUniqueIndexToFinancialStatements < ActiveRecord::Migration[7.1]
def change
add_index :financial_statements,
[:yearly_file_id, :document_type_id, :sheet_number],
name: 'index_fs_on_yearly_file_doc_type_sheet',
unique: true,
if_not_exists: true
end
end