chore: remove unused telegram bot model (#12417)

## Summary
- remove unused TelegramBot model and its association
- drop obsolete telegram_bots table
This commit is contained in:
Sojan Jose
2025-09-11 22:25:26 +05:30
committed by GitHub
parent 55315089cf
commit de5fb7a405
5 changed files with 11 additions and 28 deletions

View File

@@ -8,7 +8,6 @@ RSpec.describe Account do
it { is_expected.to have_many(:inboxes).dependent(:destroy_async) }
it { is_expected.to have_many(:conversations).dependent(:destroy_async) }
it { is_expected.to have_many(:contacts).dependent(:destroy_async) }
it { is_expected.to have_many(:telegram_bots).dependent(:destroy_async) }
it { is_expected.to have_many(:canned_responses).dependent(:destroy_async) }
it { is_expected.to have_many(:facebook_pages).class_name('::Channel::FacebookPage').dependent(:destroy_async) }
it { is_expected.to have_many(:web_widgets).class_name('::Channel::WebWidget').dependent(:destroy_async) }