docs: NOT NULL constraint failed: photo.views (#7845)

Co-authored-by: chenqi <chenqi1@sensetime.com>
This commit is contained in:
gocpplua 2021-07-21 23:09:40 +08:00 committed by GitHub
parent fff6b11cd3
commit 84e66290e8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 0 deletions

View File

@ -789,6 +789,7 @@ createConnection(/*...*/)
photo.name = "Me and Bears";
photo.description = "I am near polar bears";
photo.filename = "photo-with-bears.jpg";
photo.views = 1;
photo.isPublished = true;
// 创建 photo metadata

View File

@ -878,6 +878,7 @@ createConnection(/*...*/).then(async connection => {
photo.name = "Me and Bears";
photo.description = "I am near polar bears";
photo.filename = "photo-with-bears.jpg";
photo.views = 1;
photo.isPublished = true;
// create a photo metadata