Skip to content

Commit 752cfbd

Browse files
authored
fix: align index with SaaS (#617)
1 parent 07815fd commit 752cfbd

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

internal/types/models/task.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ type InstallTaskPluginStatus struct {
2323

2424
type InstallTask struct {
2525
Model
26-
Status InstallTaskStatus `json:"status" gorm:"not null"`
26+
Status InstallTaskStatus `json:"status" gorm:"size:50;not null;index:idx_install_tasks_status"`
2727
TenantID string `json:"tenant_id" gorm:"type:uuid;not null"`
2828
TotalPlugins int `json:"total_plugins" gorm:"not null"`
2929
CompletedPlugins int `json:"completed_plugins" gorm:"not null"`

0 commit comments

Comments
 (0)