# `mix continuum.partitions.drop_old`
[🔗](https://github.com/Yyeger/Continuum/blob/main/lib/mix/tasks/continuum.partitions.drop_old.ex#L1)

Drops old `continuum_events` partitions whose rows all belong to expired runs.

    mix continuum.partitions.drop_old
    mix continuum.partitions.drop_old --execute
    mix continuum.partitions.drop_old --repo MyApp.Repo --execute

The task is a dry run by default. Pass `--execute` to drop eligible
partitions. A partition is eligible only when it is before the current UTC
month and it contains no events for runs whose `retention_until` is NULL or
still in the future.

---

*Consult [api-reference.md](api-reference.md) for complete listing*
