add completed submitters and documents

This commit is contained in:
Oleksandr Turchyn authored and Pete Matsyburka committed 2024-10-23 12:01:43 +03:00
1 parent c303159c63
commit e2f930f6f7
14 files changed
+302 -18

No files matched your search

+20
View File
@@ -0,0 +1,20 @@
# frozen_string_literal: true
# == Schema Information
#
# Table name: completed_documents
#
# id :bigint not null, primary key
# sha256 :string not null
# created_at :datetime not null
# updated_at :datetime not null
# submitter_id :bigint not null
#
# Indexes
#
# index_completed_documents_on_sha256 (sha256)
# index_completed_documents_on_submitter_id (submitter_id)
#
class CompletedDocument < ApplicationRecord
belongs_to :submitter
end