You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
a constraintName option on @Index, @PrimaryGeneratedColumn, and @JoinColumn would be nice.
example:
@Entity()
class Post {
@PrimaryGeneratedColumn({
constraintName: 'pk_post_id'
})
id: number
@ManyToOne(author => Author, author => author.posts)
@JoinColumn({
constraintName: 'fk_post_author_id'
})
author: Author
}
d-yokoi, jwhitmarsh, andreechristian, frozenex, MartinHignett and 102 moreCusicon and HoseinGhanbaritdnghia98, matheusramos, kingpeti, hugo-dutra, mkbaranovskyi and 1 morebaesparza, kingpeti and HoseinGhanbari