diff options
author | Jonas Kohl | 2024-09-09 17:57:00 +0200 |
---|---|---|
committer | Jonas Kohl | 2024-09-09 17:57:00 +0200 |
commit | 34b1b391d4b03659a96f868857c230002b351514 (patch) | |
tree | 4173dd2831963d2bf85676de7e821b913640e43a /src/application/mystic/forum/orm | |
parent | 415a0a96a76afbe7f1ad2f51862641793caf1b6c (diff) |
More updates
Diffstat (limited to 'src/application/mystic/forum/orm')
-rw-r--r-- | src/application/mystic/forum/orm/Post.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/application/mystic/forum/orm/Post.php b/src/application/mystic/forum/orm/Post.php index db297e5..2c9a38c 100644 --- a/src/application/mystic/forum/orm/Post.php +++ b/src/application/mystic/forum/orm/Post.php @@ -13,5 +13,5 @@ class Post extends Entity { public string $content; #[References("public.users")] public string $authorId; public \DateTimeImmutable $postDate; - #[References("public.topics")] public string $topicId; + #[References("public.topics", cascadeOnDelete: true)] public string $topicId; } |