From 0eaadee120cda8c7e6ba17e1a3c7279c4e81311a Mon Sep 17 00:00:00 2001 From: Chris Sexton Date: Sat, 19 Mar 2016 15:05:15 -0400 Subject: [PATCH] Remove the beers table --- plugins/beers.go | 9 --------- 1 file changed, 9 deletions(-) diff --git a/plugins/beers.go b/plugins/beers.go index b4e524e..8a92c8d 100644 --- a/plugins/beers.go +++ b/plugins/beers.go @@ -37,15 +37,6 @@ type untappdUser struct { // NewBeersPlugin creates a new BeersPlugin with the Plugin interface func NewBeersPlugin(bot *bot.Bot) *BeersPlugin { if bot.DBVersion == 1 { - if _, err := bot.DB.Exec(`create table if not exists beers ( - id integer primary key, - nick string, - count integer, - lastDrunk integer - );`); err != nil { - log.Fatal(err) - } - if _, err := bot.DB.Exec(`create table if not exists untappd ( id integer primary key, untappdUser string,