remove unnecessary FK names

This commit is contained in:
mgabor
2024-04-12 09:10:46 +02:00
parent d9161af808
commit 69b5eb60c9
3 changed files with 10 additions and 18 deletions
+1 -11
View File
@@ -55,17 +55,7 @@ export class AlbumEntity {
@ManyToMany(() => UserEntity)
@JoinTable({
name: 'albums_shared_users_users',
inverseJoinColumn: {
name: 'usersId',
// referencedColumnName: 'id',
// foreignKeyConstraintName: 'FK_f48513bf9bccefd6ff3ad30bd06',
},
joinColumn: {
name: 'albumsId',
// referencedColumnName: 'id',
// foreignKeyConstraintName: 'FK_427c350ad49bd3935a50baab737',
},
synchronize: false,
synchronize: false, // Table is managed by AlbumPermissionEntity
})
sharedUsers!: UserEntity[];