Closed pckv closed 1 month ago
personally i prefer the idea of drops being disabled after 9999 but here's a fix regardless. either works fine for me. deleting the bot really sucks for the players
deleting the bot might suck for the players but keeping it up sucks for me
that's fine, too, i get it. will you at least release a dump of the db when it's over so the history isn't lost to time?
I setup the bot locally and tested every command interacting with cards. They should all support 5-length IDs with these changes now
New cards are generated with 5-length IDs starting at
aaaaa
Requires changing
card.id
tochar(5)
in the DB. My migration is shown below so just run each line one-by-one to first remove the constraints (ignoring them seemed to not work) and then add them back. Probably have to replace the two foreign keys with whatever names are generated for your DBs. I didn't test with synchronize in typeorm, maybe that also works