bastisawesome / guessinggame_ttv

A Twitch bot to play a word guessing game
BSD 3-Clause "New" or "Revised" License
0 stars 1 forks source link

Remove Empty Categories from Database #24

Closed bastisawesome closed 1 year ago

bastisawesome commented 1 year ago

When removing a word from the database, also run a query to check how many remaining words use that category and, if the number is 0, remove the category.