Skip to content

How to add an Index on created_at from UUIDAuditBase Mixin ? #380

Closed Answered by Kumzy
sorasful asked this question in Q&A
Discussion options

You must be logged in to vote

Hello,

sorry for the late answer but yes you have to redefine your model with specifying index=True. We decided to not add it in the default as it's adding overhead.

There is no other way currently (as I am aware of)

Regards

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
2 replies
@provinzkraut
Comment options

@provinzkraut
Comment options

Answer selected by sorasful
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants