Skip to content
Snippets Groups Projects
Commit 5b26129a authored by Teemu Autto's avatar Teemu Autto
Browse files

Add the index for azure.

parent 4ddf5c49
No related branches found
No related tags found
No related merge requests found
Pipeline #13986 passed
......@@ -58,6 +58,14 @@ class Bid(db.Document):
A model for bids on items.
"""
meta = {"indexes": [
{"fields": [
"amount",
"item",
"created_at",
]}
]}
amount = IntField(required=True, min_value=0)
"Indicates the value of the bid."
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment