Update message.go

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

View file

@ -33,7 +33,7 @@ type MessageQuery struct {
log log.Logger
}
func (mq *MessageQuery) CreateTable() error {
func (mq *MessageQuery) CreateTable(dbType string) error {
_, err := mq.db.Exec(`CREATE TABLE IF NOT EXISTS message (
chat_jid VARCHAR(255),
chat_receiver VARCHAR(255),