Skip to content
New issue

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

Feature request to support TTL (Time to Live) #64

Open
yahonda opened this issue Aug 6, 2024 · 0 comments
Open

Feature request to support TTL (Time to Live) #64

yahonda opened this issue Aug 6, 2024 · 0 comments

Comments

@yahonda
Copy link
Member

yahonda commented Aug 6, 2024

Why this feature is requested

All of TiDB Self-Hosted, TiDB Dedicated and TiDB Severless support TTL feature, I wish django-tidb supports to create table with TTL enabled.

https://docs.pingcap.com/tidb/stable/release-6.5.0

Provide row-level Time to live (TTL) to manage data lifecycle (experimental).

https://docs.pingcap.com/tidbcloud/tidb-cloud-release-notes#june-4-2024

TiDB Serverless supports Time to live (TTL).

Workaround so far

As of right now, we need to run raw sql statements to create tables with TTL enabled.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant