Files
new_lottery_bot/migrations
Andrew K. Choi d3f9f2fb53
Some checks reported errors
continuous-integration/drone/push Build encountered an error
fix: change telegram_id from INTEGER to BIGINT to support large bot IDs
- Add migration 007 to change users.telegram_id from INTEGER to BIGINT
- Update User.telegram_id model to use BigInteger
- Update BannedUser.telegram_id model to use BigInteger
- Fixes asyncpg.exceptions.DataError: value 8300330445 out of int32 range
- PostgreSQL INTEGER supports only -2.1B to 2.1B, but Telegram IDs can exceed this
- BIGINT supports up to 9.2 quintillion, sufficient for all Telegram IDs
2025-11-17 06:15:20 +09:00
..
2025-11-16 12:36:02 +09:00
2025-11-12 20:57:36 +09:00