(ns metabase-enterprise.task.truncate-audit-tables (:require [metabase.premium-features.core :refer [defenterprise]])) | |
List of models to truncate, as well as the name of the column containing the row's timestamp. EE version adds
| (defenterprise audit-models-to-truncate
:feature :audit-app
[]
[{:model :model/QueryExecution :timestamp-col :started_at}
{:model :model/AuditLog :timestamp-col :timestamp}
{:model :model/ViewLog :timestamp-col :timestamp}]) |