]> git.cworth.org Git - turbot/commit
Create the hunts table if it doesn't already exist
authorCarl Worth <cworth@cworth.org>
Thu, 22 Oct 2020 09:37:04 +0000 (02:37 -0700)
committerCarl Worth <cworth@cworth.org>
Thu, 22 Oct 2020 10:08:13 +0000 (03:08 -0700)
commit9b570c69c799bc2442d712507474c803f7a571bf
treea48dcdb511fc0cb5cadd6e8f6056306ff981bd0a
parent41931beb0de72a0669600e92dfe4d00b2e596dbf
Create the hunts table if it doesn't already exist

I just realized I was probably missing a necessary index on the hunts
table, meaning I need to destroy it ad recreate it. But I don't want
to do that manually without any code to capture what I did.

And if I'm going to write code, I might as well have that code called
implcitly as needed. So that's what's present here, the code necessary
to create the hunts table if it doesn't already exist.
turbot/events.py
turbot/interaction.py