title: How to expose foreign key column in the entity in TypeORM
body: <p>I have failed to expose the foreign key column in the entity which I feel weird to not be able to.</p>
  <p>If I am not eager loading the relation, at least I should be able to to see the <code>imageId</code> to have some clue of the existence of the relation. so when I do a <code>userRepository.findOne({email: emailaddress})</code>, even I know that I can not <code>eager load</code> the image this way. But at least I could see the <code>imageId</code>.</p>
  <pre><code>@Column('datetime', { nullable: true, name: 'last_login' })
  lastLogin: string;
  
  @OneToOne(() =&gt; UserSetting)
  @JoinColumn({ name: 'setting_id' })
  setting: UserSetting;
  
  @OneToOne(() =&gt; UserImage, { onDelete: 'SET NULL' })
  @JoinColumn({ name: 'image_id' })
  image: UserImage;
  
  imageUrl: { preview: string, thumbnail: string };
  
  @OneToMany(() =&gt; Contact, contact =&gt; contact.user)
  contacts: Contact[];
  
  @OneToMany(() =&gt; Notification, notification =&gt; notification.user)
  notifications: Notification[];
  </code></pre>
  <p>As you can see, there is no <code>imageId</code> defined. I tried to put it like this. The database just cannot be synced up and it wiped out all my image data too.</p>
  <pre><code>@Column({name: 'image_id' })
  imageId: string;
  
  @OneToOne(() =&gt; UserImage, { onDelete: 'SET NULL' })
  @JoinColumn({ name: 'image_id' })
  image: UserImage;
  </code></pre>
  <p>Am I missing something simple here?</p>