diff options
| author | Hazelnoot <acomputerdog@gmail.com> | 2025-06-05 08:00:32 +0000 |
|---|---|---|
| committer | Hazelnoot <acomputerdog@gmail.com> | 2025-06-05 08:00:32 +0000 |
| commit | f88253b95f5ed16f23a23796f76ba4e8ea5f99b3 (patch) | |
| tree | bec1ce21bd1b2de423b110a74f4c0dd4199583d4 /packages/backend/src/models/UserProfile.ts | |
| parent | merge: Add option to keep CWs with "RE:" prefix (!1093) (diff) | |
| parent | support link attributions in SkUrlPreviewGroup (diff) | |
| download | sharkey-f88253b95f5ed16f23a23796f76ba4e8ea5f99b3.tar.gz sharkey-f88253b95f5ed16f23a23796f76ba4e8ea5f99b3.tar.bz2 sharkey-f88253b95f5ed16f23a23796f76ba4e8ea5f99b3.zip | |
merge: Report admin UX improvements (!1060)
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/1060
Approved-by: Marie <github@yuugi.dev>
Approved-by: dakkar <dakkar@thenautilus.net>
Diffstat (limited to 'packages/backend/src/models/UserProfile.ts')
| -rw-r--r-- | packages/backend/src/models/UserProfile.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/backend/src/models/UserProfile.ts b/packages/backend/src/models/UserProfile.ts index 29c453dd71..6ee72e6ddd 100644 --- a/packages/backend/src/models/UserProfile.ts +++ b/packages/backend/src/models/UserProfile.ts @@ -17,7 +17,7 @@ export class MiUserProfile { @PrimaryColumn(id()) public userId: MiUser['id']; - @OneToOne(type => MiUser, { + @OneToOne(() => MiUser, user => user.userProfile, { onDelete: 'CASCADE', }) @JoinColumn() |