We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Implement a way to specify if we want to use the AuditColumns mixin and add index=True on the created_at and updated_at column
AuditColumns
index=True
created_at
updated_at
Current way to do this would be:
class Conversation(UUIDAuditBase): __tablename__ = "conversations" __table_args__ = (Index("idx_created_at", "created_at"),)
New way could be like this
class Conversation(UUIDAutidBase, audit_index=True):
No response
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Summary
Implement a way to specify if we want to use the
AuditColumns
mixin and addindex=True
on thecreated_at
andupdated_at
columnCurrent way to do this would be:
Basic Example
New way could be like this
Drawbacks and Impact
No response
Unresolved questions
No response
The text was updated successfully, but these errors were encountered: