No-Trade-No-Life / Yuan

Yuan - Investment OS for everyone

Home Page:https://y.ntnl.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

feat: support expired_at field of Data Record

zccz14 opened this issue · comments

add a new field expired_at for DataRecord

When the current timestamp exceeds expired_at, the data record should be deleted logically.

if expired_at is null, it means it will never expire.

Terminal should not send expired records to others and delete them in some plan.

Benefits:

  • Terminal Info & Subscription Relations can be removed automatically.