Fix the accidentally deleted Lists field in Campaign (!)
This commit is contained in:
parent
7eeb813f19
commit
e7c75b3d83
1 changed files with 2 additions and 0 deletions
|
@ -9,6 +9,7 @@ import (
|
|||
"strings"
|
||||
|
||||
"github.com/jmoiron/sqlx"
|
||||
"github.com/jmoiron/sqlx/types"
|
||||
"github.com/lib/pq"
|
||||
|
||||
null "gopkg.in/volatiletech/null.v6"
|
||||
|
@ -133,6 +134,7 @@ type Campaign struct {
|
|||
Tags pq.StringArray `db:"tags" json:"tags"`
|
||||
TemplateID int `db:"template_id" json:"template_id"`
|
||||
MessengerID string `db:"messenger" json:"messenger"`
|
||||
Lists types.JSONText `json:"lists"`
|
||||
|
||||
View int `db:"views" json:"views"`
|
||||
Clicks int `db:"clicks" json:"clicks"`
|
||||
|
|
Loading…
Reference in a new issue