SU2-19 | Парсинг двух форм, пока без понимания того, что делать с расхожениями в данных (обе формы в одном файле)
This commit is contained in:
@@ -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
|
||||
Reference in New Issue
Block a user