FRCDiscord / Dozer

Omnipotent guild management bot for FIRST Discord servers
GNU General Public License v3.0
42 stars 45 forks source link

fix version migrations not happening on table creation #413

Closed guineawheek closed 1 year ago

guineawheek commented 1 year ago

initial_create creates version 0 of a table. however, the previous code would not migrate this table to whatever current version existed until you restarted the bot. this reorders the function such that newly created tables always get migrated to the latest version, which will make the bot function correctly on first boot.