Update portal.go

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

View file

@ -59,7 +59,7 @@ type PortalQuery struct {
log log.Logger
}
func (pq *PortalQuery) CreateTable() error {
func (pq *PortalQuery) CreateTable(dbType string) error {
_, err := pq.db.Exec(`CREATE TABLE IF NOT EXISTS portal (
jid VARCHAR(255),
receiver VARCHAR(255),