Skip to content
This repository was archived by the owner on Oct 24, 2024. It is now read-only.
This repository was archived by the owner on Oct 24, 2024. It is now read-only.

Date type instead of string for datetime fields #21

Description

@ppaskaris

Greetings,

I really like the simplicity of this package, but I was wondering: is there a particular reason that this uses strings for the deleted and visible fields?

Using a date field would allow for adding a TTL Index to the deleted field, enabling the database to automatically clean up old messages.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions