Update message.go
This commit is contained in:
parent
aaa57b353f
commit
7c513c2f09
1 changed files with 1 additions and 1 deletions
|
@ -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),
|
||||
|
|
Loading…
Reference in a new issue