Update puppet.go

This commit is contained in:
Dominic Renner 2019-03-06 22:23:10 +01:00 committed by GitHub
parent d91bc8c346
commit c1e20f96d0

View file

@ -29,7 +29,7 @@ type PuppetQuery struct {
log log.Logger
}
func (pq *PuppetQuery) CreateTable() error {
func (pq *PuppetQuery) CreateTable(dbType string) error {
_, err := pq.db.Exec(`CREATE TABLE IF NOT EXISTS puppet (
jid VARCHAR(255) PRIMARY KEY,
avatar VARCHAR(255),