Update user.go
This commit is contained in:
parent
c1e20f96d0
commit
539699ba04
1 changed files with 1 additions and 1 deletions
|
@ -33,7 +33,7 @@ type UserQuery struct {
|
|||
log log.Logger
|
||||
}
|
||||
|
||||
func (uq *UserQuery) CreateTable() error {
|
||||
func (uq *UserQuery) CreateTable(dbType string) error {
|
||||
_, err := uq.db.Exec(`CREATE TABLE IF NOT EXISTS whatsapp_user (
|
||||
mxid VARCHAR(255) PRIMARY KEY,
|
||||
jid VARCHAR(255) UNIQUE,
|
||||
|
|
Loading…
Reference in a new issue