update sqlc gen

This commit is contained in:
Pavel 2024-06-10 19:06:11 +03:00
parent 3a299020fd
commit 9e84512bd6
2 changed files with 9 additions and 9 deletions

@ -7,5 +7,5 @@ CREATE TABLE IF NOT EXISTS leadtarget(
QuizID integer NOT NULL DEFAULT 0,
Target text NOT NULL,
Deleted boolean NOT NULL DEFAULT false,
CreatedAt TIMESTAMP DEFAULT CURRENT_TIMESTAMP
)
CreatedAt TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP
)

@ -62,13 +62,13 @@ type Field struct {
}
type Leadtarget struct {
ID int64 `db:"id" json:"id"`
Accountid string `db:"accountid" json:"accountid"`
Type string `db:"type" json:"type"`
Quizid int32 `db:"quizid" json:"quizid"`
Target string `db:"target" json:"target"`
Deleted bool `db:"deleted" json:"deleted"`
Createdat sql.NullTime `db:"createdat" json:"createdat"`
ID int64 `db:"id" json:"id"`
Accountid string `db:"accountid" json:"accountid"`
Type string `db:"type" json:"type"`
Quizid int32 `db:"quizid" json:"quizid"`
Target string `db:"target" json:"target"`
Deleted bool `db:"deleted" json:"deleted"`
Createdat time.Time `db:"createdat" json:"createdat"`
}
type Pipeline struct {