Skip to content

Commit 165d355

Browse files
committed
fix duplicated index names
Signed-off-by: yoseplee <[email protected]>
1 parent f888ebb commit 165d355

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spring-batch-core/src/main/resources/org/springframework/batch/core/schema-mongodb.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,5 +14,5 @@ db.getCollection("BATCH_JOB_INSTANCE").createIndex("job_name_idx", {"jobName": 1
1414
db.getCollection("BATCH_JOB_INSTANCE").createIndex("job_name_key_idx", {"jobName": 1, "jobKey": 1}, {});
1515
db.getCollection("BATCH_JOB_INSTANCE").createIndex("job_instance_idx", {"jobInstanceId": -1}, {});
1616
db.getCollection("BATCH_JOB_EXECUTION").createIndex("job_instance_idx", {"jobInstanceId": 1}, {});
17-
db.getCollection("BATCH_JOB_EXECUTION").createIndex("job_instance_idx", {"jobInstanceId": 1, "status": 1}, {});
17+
db.getCollection("BATCH_JOB_EXECUTION").createIndex("job_instance_status_idx", {"jobInstanceId": 1, "status": 1}, {});
1818
db.getCollection("BATCH_STEP_EXECUTION").createIndex("step_execution_idx", {"stepExecutionId": 1}, {});

0 commit comments

Comments
 (0)