[messaging] clean orphan threads and messages after connected account deletion (#4195)

* [messaging] add connected account associated data delete

* add threadCleanerService

* fix

* fix import

* add thread cleaner import

* remove log
This commit is contained in:
Weiko
2024-02-26 21:29:44 +01:00
committed by GitHub
parent 6a1abba9ea
commit 214807588a
22 changed files with 326 additions and 116 deletions

View File

@ -24,6 +24,7 @@ export enum RelationOnDeleteAction {
CASCADE = 'CASCADE',
RESTRICT = 'RESTRICT',
SET_NULL = 'SET_NULL',
NO_ACTION = 'NO_ACTION',
}
@Entity('relationMetadata')