- Was delete if before `now` - Should be delete if before `now - 30 days`
This commit is contained in:
parent
ecd4ed2ef8
commit
fb95ee48cc
2 changed files with 3 additions and 3 deletions
|
@ -114,6 +114,6 @@ type IUser interface {
|
|||
GetPagedAllNonDeleted(pageNr uint) ([]gen.T, error)
|
||||
// Gdpr deleted users
|
||||
//
|
||||
// DELETE FROM @@table WHERE deleted_at IS NOT NULL AND deleted_at < NOW()
|
||||
// DELETE FROM @@table WHERE deleted_at IS NOT NULL AND deleted_at + interval '30 days' < NOW()
|
||||
GdprUsers() error
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue