Closed as not planned
Closed as not planned
Description
type Assignment struct {
Status int32 gorm:"column:status;type:tinyint;not null;comment:assignment status, 0:unfinished, 1:finished" json:"status"
// assignment status, 0:unfinished, 1:finished
}
create table if not exists assignment
(
type tinyint default 0 not null comment 'assignment type, 0:collector, 1:checker',
);
use latest version gentool.