mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-01-26 09:03:37 +00:00
Jordie proofs the codebase. Some unbanned legacy bans came back as active bans because the db conversion script jordie had me run back during the ban panel rewrite didn't account for erro being erro and setting unbanned to 2 in some cases for reasons we don't understand or care about. Normally I could easily fix this by having mysql give me a list of every id in the old ban table with unbanned set to 2, and shunting that as a subquery to an update statement to unban those bans. but jordie, complaining about weird gaps in ordering and id numbers, intentionally reset and reassigned the id numbers of all bans during the conversion. Its at this point that I decided we should never reshuffle ids arounds for bullshit reasons.