This commit is contained in:
2022-11-03 02:48:47 -06:00
parent f9a13021fc
commit aef87ffe94
14 changed files with 106 additions and 94 deletions
+3 -3
View File
@@ -12,12 +12,12 @@ export class Passcode {
@PrimaryGeneratedColumn()
id_passcode: number;
@Column({ type: String, nullable: false })
passcode: string;
@Column({ type: Boolean, nullable: true, default: false })
abrio: boolean;
@Column({ type: String, nullable: true, default: null })
passcode: string;
@OneToOne(() => Prestamo, (Prestamo) => Prestamo.id_prestamo, {
eager: true,
})