sqlite3.DatabaseError: database disk image is malformed

I just had this issue happen again after starting over with a fresh DB at the beginning of the month. I found this issue on github of other users experiencing the same.