mirror of
https://github.com/safing/portbase
synced 2025-09-09 13:55:47 +00:00
Add shadowDelete support to record maintenance
This commit is contained in:
parent
30a53cf840
commit
bd90e5a5df
10 changed files with 87 additions and 72 deletions
|
@ -23,7 +23,7 @@ type Interface interface {
|
|||
Shutdown() error
|
||||
|
||||
// Mandatory Record Maintenance
|
||||
MaintainRecordStates(ctx context.Context, purgeDeletedBefore time.Time) error
|
||||
MaintainRecordStates(ctx context.Context, purgeDeletedBefore time.Time, shadowDelete bool) error
|
||||
}
|
||||
|
||||
// Maintainer defines the database storage API for backends that require regular maintenance.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue