disable synchronize on the original join table

This commit is contained in:
mgabor
2024-04-12 08:53:38 +02:00
parent de58cd2ebd
commit d9161af808
4 changed files with 22 additions and 27 deletions
+5 -4
View File
@@ -57,14 +57,15 @@ export class AlbumEntity {
name: 'albums_shared_users_users',
inverseJoinColumn: {
name: 'usersId',
referencedColumnName: 'id',
foreignKeyConstraintName: 'FK_f48513bf9bccefd6ff3ad30bd06',
// referencedColumnName: 'id',
// foreignKeyConstraintName: 'FK_f48513bf9bccefd6ff3ad30bd06',
},
joinColumn: {
name: 'albumsId',
referencedColumnName: 'id',
foreignKeyConstraintName: 'FK_427c350ad49bd3935a50baab737',
// referencedColumnName: 'id',
// foreignKeyConstraintName: 'FK_427c350ad49bd3935a50baab737',
},
synchronize: false,
})
sharedUsers!: UserEntity[];