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 =
2
2
20231227132525.sql h1:43xn7XC0GoJsCnXIMczGXWis9d504FAWi4F1gViTIcw=
3
3
20240115170600.sql h1:IW8fF/8vc40+eWqP/xDK+R4K9jHJ9QBSGO6rN9LtfSA=
4
4
20240116123649.sql h1:R1JlUIgxxF6Cyob9HdtMqiKmx/BfnsctTl5rvOqssQw=
@@ -64,3 +64,4 @@ h1:h0zwfrohIp8FOBzTzA5mWwqH+PZ72EWauHYkxXMH+u8=
64
64
20250730002811.sql h1:VqNDMnhVinkBXlDJN4BCq5JzZr4NHVu6zuHEGP9dMvk=
65
65
20250812035039.sql h1:OLRqsoO26JjdOABsc+QauTWV0kUuZKkx6EOPUVgpBpw=
66
66
20250907140955.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 {
50
50
51
51
type DiggerJob struct {
52
52
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"`
55
55
RunName string
56
56
ProjectName string
57
57
Batch * DiggerBatch
You can’t perform that action at this time.
0 commit comments