xiongzhu hace 1 año
padre
commit
7090b347bd
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      src/phone-list/entities/phone-list.entity.ts

+ 1 - 1
src/phone-list/entities/phone-list.entity.ts

@@ -14,7 +14,7 @@ export class PhoneList {
     @Column()
     name: string
 
-    @Column({ nullable: true })
+    @Column({ default: 0 })
     count: number
 
     @Column({ nullable: true })