Closed nlienard closed 2 years ago
i'll reply to myself
SOLUTION :
telegram_bot=# ALTER TABLE users ALTER COLUMN user_id TYPE bigint;
ALTER TABLE
The int is not enough. integer 4 bytes -2147483648 to +2147483647
My telegram id is over 5 000 000 000 which is largely superior than the the integer limit ( 214748364)
Hi, thanks for raising this issue.
The repo is no longer maintained. 64bit userids are just one of the many things which are likely to be broken in this bot.
I do not recommend using it :)
thanks, closing the issue as it is solved.
HI
I installed postgres and all dependencies but get an error with "postgres" for SQLALCHEMY_DATABASE_URI.
if i replaced by "postgresql", i got another error:
Any clue is welcome.
Thanks