quizpaper category update 오류 수정
This commit is contained in:
parent
b00eb7ac01
commit
cb1cec3947
@ -13,7 +13,7 @@ type QuizPaper struct {
|
|||||||
ManagerID int64 `json:"manager_id" db:"manager_id" example:"100001" gorm:"column:manager_id;index;"`
|
ManagerID int64 `json:"manager_id" db:"manager_id" example:"100001" gorm:"column:manager_id;index;"`
|
||||||
Title string `json:"title" db:"title" example:"퀴즈 시트 제목" gorm:"column:title;size:255;index;"`
|
Title string `json:"title" db:"title" example:"퀴즈 시트 제목" gorm:"column:title;size:255;index;"`
|
||||||
Content string `json:"content" db:"content" example:"퀴즈 시트 설명" gorm:"column:content;size:512;"`
|
Content string `json:"content" db:"content" example:"퀴즈 시트 설명" gorm:"column:content;size:512;"`
|
||||||
Category string `json:"category" db:"category" example:"파이썬기본" gorm:"column:title;size:255;"`
|
Category string `json:"category" db:"category" example:"파이썬기본" gorm:"column:category;size:255;"`
|
||||||
Tag datatypes.JSON `json:"tag" db:"tag" gorm:"column:tag;"`
|
Tag datatypes.JSON `json:"tag" db:"tag" gorm:"column:tag;"`
|
||||||
Status string `json:"status" example:"on" gorm:"column:status;size:10;index;"`
|
Status string `json:"status" example:"on" gorm:"column:status;size:10;index;"`
|
||||||
UpdatedAt time.Time `json:"-" gorm:"column:updated_at;type:DATETIME NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP;index;->:false"`
|
UpdatedAt time.Time `json:"-" gorm:"column:updated_at;type:DATETIME NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP;index;->:false"`
|
||||||
|
Loading…
Reference in New Issue
Block a user