Skip to content

Commit

Permalink
Fix the accidentally deleted Lists field in Campaign (!)
Browse files Browse the repository at this point in the history
  • Loading branch information
knadh committed Jan 4, 2019
1 parent 7eeb813 commit e7c75b3
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions models/models.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down Expand Up @@ -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"`
Expand Down

0 comments on commit e7c75b3

Please sign in to comment.