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