Files
gramsrv/deploy/migrations/0214_bot_api_pre_checkout_payload.up.sql
roon9e b551a239f5 Translate Chinese/Russian comments, logs and diagnostics to English
Translate all natural-language comments, log/diagnostic messages, SQL comments and config/doc prose from Chinese (and Russian) to English across the codebase (~840 files). Rebased on upstream main; upstream's newly added files are translated too.

Locale resources and functional non-English data are left intact: language packs, admin/grammystore i18n bundles, localized docs, the officialBrandRE regex, seeded Russian premium-bot text, user-facing Russian bot strings and asserted Unicode test fixtures. A new internal/translation guard test fails if CJK/Cyrillic reappears in source outside that allowlist.

No code, identifiers, struct tags or behavior changed (verified with an AST-level comment/string audit). go build ./..., go vet ./... and the guard pass.
2026-10-31 22:32:21 +03:00

7 lines
351 B
SQL

-- pre_checkout_query is not tied to a message: the bot is asked before a payment
-- exists, so the update has neither a peer nor a message_id. It cannot be stored in
-- message columns; a separate payload is needed -- just as callback_query has its
-- own columns.
ALTER TABLE bot_api_updates
ADD COLUMN IF NOT EXISTS pre_checkout_payload jsonb;