Skip to content

Commit

Permalink
🎨 Db_index for preprint
Browse files Browse the repository at this point in the history
Signed-off-by: zethson <[email protected]>
  • Loading branch information
Zethson committed Nov 21, 2024
1 parent 86e476c commit c3f59dc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ourprojects/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ class Meta(Record.Meta, TracksRun.Meta, TracksUpdates.Meta):
],
)
"""Digital Object Identifier (DOI) for the reference."""
preprint: bool = BooleanField(default=False)
preprint: bool = BooleanField(default=False, db_index=True)
"""Whether the reference is from a preprint."""
journal: str | None = TextField(null=True)
"""Name of the journal."""
Expand Down

0 comments on commit c3f59dc

Please sign in to comment.