models

package
v0.1.18 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 8, 2025 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type HousekeeperRun

type HousekeeperRun struct {
	bun.BaseModel `bun:"table:aux_housekeeper_run"`
	coremodels.Model

	// ModelName specifies the name of the model processed by the
	// housekeeper.
	ModelName string `bun:"model_name,notnull"`

	// StartedAt specifies when the housekeeper started processing stale
	// records.
	StartedAt time.Time `bun:"started_at,notnull"`

	// CompletedAt specifies when the housekeeper completed processing stale
	// records.
	CompletedAt time.Time `bun:"completed_at,notnull"`

	// Count specifies the number of stale records that were cleaned up by
	// the housekeeper.
	Count int64 `bun:"count,notnull"`
}

HousekeeperRun represents a single run of the housekeeper.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL