This commit is contained in:
2024-06-13 10:07:25 +02:00
parent 21e31d0ee4
commit c3a8469371
4 changed files with 15 additions and 20 deletions
+1 -1
View File
@@ -51,7 +51,7 @@ export class Post extends Model<InferAttributes<Post>, InferCreationAttributes<P
@BelongsToMany(()=>Bucket,{through: {model:'PostBucket'}, throughAssociations: {
fromSource: 'postPostBuckets',
fromSource: 'postBucketBuckets',
toSource: 'post',
fromTarget: 'postBucketPosts',
toTarget: 'PostBucket',