geerlingguy / beast-challenge

A control system for MrBeast's 1-100 challenge
GNU General Public License v3.0
26 stars 1 forks source link

Make sure database resetting procedure is well documented and doable from farmer #61

Closed geerlingguy closed 1 year ago

geerlingguy commented 1 year ago

Earlier today, Sean found a way to make it so we couldn't save new rounds in the database. For a quick fix, I reset the database. We need to make sure they can reset it from within the building and it is a well-documented procedure.

That way if I'm asleep and all hell breaks loose, they'll still be able to create new rounds (they'll just lose vote data during that round).

geerlingguy commented 1 year ago

Maybe as part of the reset, backup the db file to somewhere.

geerlingguy commented 1 year ago

farmer-reset-database.yml is the thing to be. Backs up the database, resets the environment... lotsa good stuff.