From 987d4d4a01e18b4ad798b7def71a2ce805fd99c3 Mon Sep 17 00:00:00 2001 From: Muhsin Date: Wed, 1 Apr 2026 13:04:49 +0400 Subject: [PATCH] chore: revert unrelated changes --- enterprise/app/models/captain/document.rb | 5 ----- enterprise/app/models/company.rb | 2 +- 2 files changed, 1 insertion(+), 6 deletions(-) diff --git a/enterprise/app/models/captain/document.rb b/enterprise/app/models/captain/document.rb index bde735ac3..751162b28 100644 --- a/enterprise/app/models/captain/document.rb +++ b/enterprise/app/models/captain/document.rb @@ -4,12 +4,9 @@ # # id :bigint not null, primary key # content :text -# content_type :string # external_link :string not null -# file_size :bigint # metadata :jsonb # name :string -# source_type :string default("url") # status :integer default("in_progress"), not null # created_at :datetime not null # updated_at :datetime not null @@ -21,8 +18,6 @@ # index_captain_documents_on_account_id (account_id) # index_captain_documents_on_assistant_id (assistant_id) # index_captain_documents_on_assistant_id_and_external_link (assistant_id,external_link) UNIQUE -# index_captain_documents_on_content_type (content_type) -# index_captain_documents_on_source_type (source_type) # index_captain_documents_on_status (status) # class Captain::Document < ApplicationRecord diff --git a/enterprise/app/models/company.rb b/enterprise/app/models/company.rb index 5649f2545..8581675bd 100644 --- a/enterprise/app/models/company.rb +++ b/enterprise/app/models/company.rb @@ -3,7 +3,7 @@ # Table name: companies # # id :bigint not null, primary key -# contacts_count :integer default(0), not null +# contacts_count :integer # description :text # domain :string # name :string not null