From 5e39c52de1dd5fb5b753d2c62d3ce2e12e60bf44 Mon Sep 17 00:00:00 2001 From: Muhsin Keloth Date: Sat, 16 Aug 2025 13:20:12 +0530 Subject: [PATCH] chore: remove source_type references from document model --- enterprise/app/models/captain/document.rb | 2 -- 1 file changed, 2 deletions(-) diff --git a/enterprise/app/models/captain/document.rb b/enterprise/app/models/captain/document.rb index deb5075bd..d2a02f5b5 100644 --- a/enterprise/app/models/captain/document.rb +++ b/enterprise/app/models/captain/document.rb @@ -6,7 +6,6 @@ # content :text # external_link :string not null # name :string -# source_type :string default("url") # status :integer default("in_progress"), not null # created_at :datetime not null # updated_at :datetime not null @@ -18,7 +17,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_source_type (source_type) # index_captain_documents_on_status (status) # class Captain::Document < ApplicationRecord