fredi-68 / Ram

ProtOS Discord Bot (Codename: Ram) DISCLAIMER: This repository is a mirror of my local network source control. Information may or may not be inaccurate. Updates only whenever I can be bothered.
0 stars 0 forks source link

Snowflake IDs changed from str to int #14

Closed fredi-68 closed 5 years ago

fredi-68 commented 6 years ago

This is a change to the internal JSON API of discord.py, which unfortunately breaks most of our config code that expects strings instead of ints. Most of the APIs have methods in place that can handle integers though, so consider switching them over.

The database will be more of a problem. Switching the model over to using ints instead of strings for snowflakes will not be too difficult, but databases will need to be migrated, so we'll need a script for that. Upgrading on production will be a pain.

- Identify possible issues aside from config/data storage incompatibilities
- Write script to migrate databases
- Change table prefabs in config.DatabaseHandle
fredi-68 commented 6 years ago

That markdown though.

Completely on accident as well.

fredi-68 commented 5 years ago

This patch has been in testing for quite a while and is now considered stable, closing issue