diff --git a/database/message.go b/database/message.go index 5513df3..886bd56 100644 --- a/database/message.go +++ b/database/message.go @@ -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),