mirror of https://github.com/velour/catbase.git
Remove the beers table
This commit is contained in:
parent
15602defbc
commit
0eaadee120
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue