SocksTheWolf/AntiScamBot

Refactor: Database Schema

Closed this issue · 5 comments

This requires tweaking the database to migrated to one that has better typing/formatting rules. Right now, it's kind of a mess, and even worse if we ever have to upgrade the server.

Look into ways to potentially make this easier to work with that can also build queries. There are a few python libraries that can help.

Dropping original above comment. I was under the impression Railways pricing worked on the same system as Digital Ocean, and it does not. It’s actually potentially more expensive.

I’m wondering if this ticket should be blocked on having the unit testing solidified first #19

Partially implemented conversion to sqlalchemy here:
main...user4752:AntiScamBot:db-refactor

Just need to update Discord.py to accept the new data format being returned

Will make future pull request when complete

@user4752 skimmed this so far, lots of progress here. Looking forward to reviewing the pr!