Update puppet.go
This commit is contained in:
parent
d91bc8c346
commit
c1e20f96d0
@ -29,7 +29,7 @@ type PuppetQuery struct {
|
|||||||
log log.Logger
|
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 (
|
_, err := pq.db.Exec(`CREATE TABLE IF NOT EXISTS puppet (
|
||||||
jid VARCHAR(255) PRIMARY KEY,
|
jid VARCHAR(255) PRIMARY KEY,
|
||||||
avatar VARCHAR(255),
|
avatar VARCHAR(255),
|
||||||
|
Loading…
Reference in New Issue
Block a user