Skip to content

Commit 5054541

Browse files
committed
change order of last_notified + id index
1 parent 476088a commit 5054541

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/database.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,8 +49,8 @@ impl Database {
4949
// Create index for fields `id` and `last_notified`.
5050
let index_model = IndexModel::builder()
5151
.keys(doc! {
52-
"id": 1,
5352
"last_notified": 1,
53+
"id": 1,
5454
})
5555
.build();
5656

0 commit comments

Comments
 (0)