title: How to use onDelete: 'CASCADE' on one-to-one relationship
body: <p>I try to delete user's profile when user was deleted. But it's delete nothing on profile.</p>
  <p>User Entity</p>
  <pre><code>@Entity()
  export class User {
  
      @PrimaryGeneratedColumn()
      id: number;
  
      @Column()
      name: string;
  
      @OneToOne(type =&gt; Profile, profile =&gt; profile.user, 
                { eager: true, cascade: true, onDelete: 'CASCADE' })
      @JoinColumn()
      profile: Profile;
  
  }
  </code></pre>
  <p>Profile Entity</p>
  <pre><code>@Entity()
  export class Profile {
  
      @PrimaryGeneratedColumn()
      id: number;
  
      @Column()
      gender: string;
  
      @Column()
      photo: string;
  
      @OneToOne(type =&gt; User, user =&gt; user.profile)
      user: User;
  
  }
  </code></pre>
  <p>How I delete a user.</p>
  <pre><code>const userRepository = connection.getRepository(User);
  const user = await userRepository.findOne({ where: {id: 'someuserId'}, relations: [&quot;profile&quot;] });
  
  await user.remove()
  </code></pre>
  <p>User was removed but nothing happen on user's profile.</p>
  <blockquote>
  <p>Can anyone explain how to delete relationship on one-to-one?</p>
  </blockquote>