Fix the accidentally deleted Lists field in Campaign (!)

This commit is contained in:
Kailash Nadh 2019-01-04 12:36:55 +05:30
parent 7eeb813f19
commit e7c75b3d83

View file

@ -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"`