ErrorsEntities, stores and migrations · rule
data.lifecycle_purge_after
Purge's after: isn't a positive duration.
Area 5, Entities, stores and migrations; not declinable; the next step is usually the agent's.
A hidden record is kept for a positive duration before purge deletes it:
entity Todo { id: Uuid deleted_at: Instant? lifecycle: { visible: deleted_at == none purge: { after: 0d since: deleted_at } }}
error after: 0d isn't a positive duration
--> main.jadpo:8:20
|8 | after: 0d | ^^ not a positive duration
- reason
after:is how long a hidden record is kept before purge deletes it, a duration such as30dor12h, longer than nothing; a hidden record would be deleted the moment it is hidden.- next
- Write a duration, such as
after: 30d(agent) - rule
- data.
lifecycle_ purge_ after - help
- https://jadpo.
dev/docs/errors/data. lifecycle_ purge_ after
Markdown for agents: /docs/errors/data.lifecycle_purge_after.md.Built from Jadpo main at aee2e8f.