add completed submitters and documents

This commit is contained in:
Oleksandr Turchyn
2024-10-22 22:29:24 +03:00
committed by Pete Matsyburka
parent c303159c63
commit e2f930f6f7
14 changed files with 302 additions and 18 deletions
+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