Skip to content

Commit

Permalink
Revert ":bug: Add index on Task.ApplicationID." (#689)
Browse files Browse the repository at this point in the history
Reverts #679
  • Loading branch information
shawn-hurley authored Jul 3, 2024
1 parent 062377e commit e9d3135
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion migration/v14/model/core.go
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ type Task struct {
Retries int
Attached []Attachment `gorm:"type:json;serializer:json" ref:"[]file"`
Report *TaskReport `gorm:"constraint:OnDelete:CASCADE"`
ApplicationID *uint `gorm:"index"`
ApplicationID *uint
Application *Application
TaskGroupID *uint `gorm:"<-:create"`
TaskGroup *TaskGroup
Expand Down

0 comments on commit e9d3135

Please sign in to comment.