初步实现审计
This commit is contained in:
@@ -159,6 +159,7 @@ func (ps *PostgresStorage) creatingHyperTable() error {
|
||||
{models.PlanExecutionLog{}, "started_at"},
|
||||
{models.TaskExecutionLog{}, "started_at"},
|
||||
{models.PendingCollection{}, "created_at"},
|
||||
{models.UserActionLog{}, "time"},
|
||||
}
|
||||
|
||||
for _, table := range tablesToConvert {
|
||||
@@ -187,6 +188,7 @@ func (ps *PostgresStorage) applyCompressionPolicies() error {
|
||||
{models.PlanExecutionLog{}, "plan_id"},
|
||||
{models.TaskExecutionLog{}, "task_id"},
|
||||
{models.PendingCollection{}, "device_id"},
|
||||
{models.UserActionLog{}, "user_id"},
|
||||
}
|
||||
|
||||
for _, policy := range policies {
|
||||
|
||||
Reference in New Issue
Block a user