xiongzhu před 1 rokem
rodič
revize
7090b347bd
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  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 })