File tree Expand file tree Collapse file tree 3 files changed +6
-3
lines changed Expand file tree Collapse file tree 3 files changed +6
-3
lines changed Original file line number Diff line number Diff line change 1+ -- Create index "idx_digger_jobs_status" to table: "digger_jobs"
2+ CREATE INDEX "idx_digger_jobs_status " ON " public" ." digger_jobs" (" status" );
Original file line number Diff line number Diff line change 1- h1:h0zwfrohIp8FOBzTzA5mWwqH+PZ72EWauHYkxXMH+u8 =
1+ h1:S0K8iqPq5Fov5NYALJBJVB8Scnz9f20URgSGJyeOhgA =
2220231227132525.sql h1:43xn7XC0GoJsCnXIMczGXWis9d504FAWi4F1gViTIcw=
3320240115170600.sql h1:IW8fF/8vc40+eWqP/xDK+R4K9jHJ9QBSGO6rN9LtfSA=
4420240116123649.sql h1:R1JlUIgxxF6Cyob9HdtMqiKmx/BfnsctTl5rvOqssQw=
@@ -64,3 +64,4 @@ h1:h0zwfrohIp8FOBzTzA5mWwqH+PZ72EWauHYkxXMH+u8=
646420250730002811.sql h1:VqNDMnhVinkBXlDJN4BCq5JzZr4NHVu6zuHEGP9dMvk=
656520250812035039.sql h1:OLRqsoO26JjdOABsc+QauTWV0kUuZKkx6EOPUVgpBpw=
666620250907140955.sql h1:LHINhHgrPwM/Sy1UeIS4Z3iUVp6kv3/UtiGZZ5/SE8k=
67+ 20250910102133.sql h1:jBW3PuoCWZPJA8ZaXDAyRuA9LnGDQGxvL+HtjCn33DI=
Original file line number Diff line number Diff line change @@ -50,8 +50,8 @@ type DiggerBatch struct {
5050
5151type DiggerJob struct {
5252 gorm.Model
53- DiggerJobID string `gorm:"size:50,index:idx_digger_job_id"`
54- Status orchestrator_scheduler.DiggerJobStatus
53+ DiggerJobID string `gorm:"size:50,index:idx_digger_job_id"`
54+ Status orchestrator_scheduler.DiggerJobStatus `gorm:"index:idx_digger_jobs_status"`
5555 RunName string
5656 ProjectName string
5757 Batch * DiggerBatch
You can’t perform that action at this time.
0 commit comments