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

@@ -10,7 +10,7 @@
#
# It's strongly recommended that you check this file into your version control system.
ActiveRecord::Schema[7.1].define(version: 2025_08_25_070005) do
ActiveRecord::Schema[7.1].define(version: 2025_08_26_000000) do
# These extensions should be enabled to support this database
enable_extension "pg_stat_statements"
enable_extension "pg_trgm"
@@ -1146,14 +1146,6 @@ ActiveRecord::Schema[7.1].define(version: 2025_08_25_070005) do
t.index ["name", "account_id"], name: "index_teams_on_name_and_account_id", unique: true
end
create_table "telegram_bots", id: :serial, force: :cascade do |t|
t.string "name"
t.string "auth_key"
t.integer "account_id"
t.datetime "created_at", precision: nil, null: false
t.datetime "updated_at", precision: nil, null: false
end
create_table "users", id: :serial, force: :cascade do |t|
t.string "provider", default: "email", null: false
t.string "uid", default: "", null: false