xiongzhu 1 年之前
父节点
当前提交
be27810794
共有 1 个文件被更改,包括 1 次插入1 次删除
  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({ default: 0 })
+    @Column({ nullable: true })
     count: number
 
     @Column({ nullable: true })