Skip to content

Commit

Permalink
change task_host column
Browse files Browse the repository at this point in the history
  • Loading branch information
710leo committed Apr 6, 2024
1 parent 59b4b57 commit 8b1a788
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/models/task_host.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ import (
)

type TaskHost struct {
II int64 `gorm:"column:ii;primaryKey;autoIncrement"`
II int64 `gorm:"column:ii;primaryKey;autoIncrement" json:"-"`
Id int64 `gorm:"column:id;uniqueIndex:idx_id_host;not null"`
Host string `gorm:"column:host;uniqueIndex:idx_id_host;size:128;not null"`
Status string `gorm:"column:status;size:32;not null"`
Expand Down

0 comments on commit 8b1a788

Please sign in to comment.