Skip to content

Commit

Permalink
fix(typeorm): revert uneeded change to test entity
Browse files Browse the repository at this point in the history
  • Loading branch information
doug-martin committed Sep 30, 2021
1 parent 6af8af1 commit 86f7fd9
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ export class TestEntity {
@JoinTable()
manyToManyUniDirectional?: TestRelation[];

@OneToOne(() => TestRelation, (relation) => relation.oneTestEntity, { nullable: true })
@OneToOne(() => TestRelation, (relation) => relation.oneTestEntity)
@JoinColumn()
oneTestRelation?: TestRelation;

Expand Down

0 comments on commit 86f7fd9

Please sign in to comment.