Update portal.go
This commit is contained in:
parent
7c513c2f09
commit
d91bc8c346
@ -59,7 +59,7 @@ type PortalQuery struct {
|
|||||||
log log.Logger
|
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 (
|
_, err := pq.db.Exec(`CREATE TABLE IF NOT EXISTS portal (
|
||||||
jid VARCHAR(255),
|
jid VARCHAR(255),
|
||||||
receiver VARCHAR(255),
|
receiver VARCHAR(255),
|
||||||
|
Loading…
x
Reference in New Issue
Block a user