-
This commit is contained in:
parent
37acc4b079
commit
05b39805d5
@ -1 +1 @@
|
|||||||
ALTER TABLE question ADD COLUMN auditory BIGINT DEFAULT 0;
|
ALTER TABLE question ADD COLUMN auditory BIGINT NOT NULL DEFAULT 0;
|
||||||
|
@ -223,7 +223,7 @@ type Question struct {
|
|||||||
CreatedAt sql.NullTime `db:"created_at" json:"created_at"`
|
CreatedAt sql.NullTime `db:"created_at" json:"created_at"`
|
||||||
UpdatedAt sql.NullTime `db:"updated_at" json:"updated_at"`
|
UpdatedAt sql.NullTime `db:"updated_at" json:"updated_at"`
|
||||||
Session string `db:"session" json:"session"`
|
Session string `db:"session" json:"session"`
|
||||||
Auditory sql.NullInt64 `db:"auditory" json:"auditory"`
|
Auditory int64 `db:"auditory" json:"auditory"`
|
||||||
}
|
}
|
||||||
|
|
||||||
type Quiz struct {
|
type Quiz struct {
|
||||||
|
@ -4453,7 +4453,7 @@ type InsertQuestionParams struct {
|
|||||||
ParentIds []int32 `db:"parent_ids" json:"parent_ids"`
|
ParentIds []int32 `db:"parent_ids" json:"parent_ids"`
|
||||||
UpdatedAt sql.NullTime `db:"updated_at" json:"updated_at"`
|
UpdatedAt sql.NullTime `db:"updated_at" json:"updated_at"`
|
||||||
Session string `db:"session" json:"session"`
|
Session string `db:"session" json:"session"`
|
||||||
Auditory sql.NullInt64 `db:"auditory" json:"auditory"`
|
Auditory int64 `db:"auditory" json:"auditory"`
|
||||||
}
|
}
|
||||||
|
|
||||||
type InsertQuestionRow struct {
|
type InsertQuestionRow struct {
|
||||||
|
Loading…
Reference in New Issue
Block a user