feat: support expired_at field of Data Record
zccz14 opened this issue · comments
Zheng Chen commented
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.
Zheng Chen commented