Skip to content
This repository has been archived by the owner on Jun 6, 2024. It is now read-only.

Commit

Permalink
Add index on task uid instead of framework name and attempt index (#4938
Browse files Browse the repository at this point in the history
)
  • Loading branch information
hzy46 authored Sep 29, 2020
1 parent a3be56f commit 9755553
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/database-controller/sdk/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ class DatabaseModel {
indexes: [
{
unique: false,
fields: ['frameworkName', 'attemptIndex'],
fields: ['taskUid'],
},
],
freezeTableName: true,
Expand Down

0 comments on commit 9755553

Please sign in to comment.