Merge branch 'task-88-feature/multi_copy_task' into 'development'

Task 88 feature/multi copy task

See merge request !59
parents df34b85f 011bad42
......@@ -27,7 +27,7 @@ import { User } from './User';
@Column({ name: 'token', type: 'varchar',length:100, unique: true, nullable:true })
token!: string;
@OneToOne(()=>User,{nullable: false, eager:true})
@OneToOne(()=>User,{nullable: false, eager:true, onDelete:"CASCADE"})
@JoinColumn()
user!:User;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment