The Telegram bot phase ended in Plan 3 — the operator now signs in via username + password. Migration 0011 drops the legacy column + its unique index. seed.ts no longer reads SEED_OPERATOR_TELEGRAM_ID; docker-compose.base.yml swaps the env to SEED_OPERATOR_USERNAME (default 'admin'); .env.development follows. Settings page shows 'Username' instead of 'Operator ID'. Auth-and-prod-hardening plan doc updated to drop the synthetic telegram_user_id from the create-user CLI script and createUserAction insert. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2 lines
143 B
SQL
2 lines
143 B
SQL
DROP INDEX IF EXISTS "operators_telegram_user_id_uq";--> statement-breakpoint
|
|
ALTER TABLE "operators" DROP COLUMN IF EXISTS "telegram_user_id"; |