mirror of
https://github.com/typeorm/typeorm.git
synced 2025-12-08 21:26:23 +00:00
docs: NOT NULL constraint failed: photo.views (#7845)
Co-authored-by: chenqi <chenqi1@sensetime.com>
This commit is contained in:
parent
fff6b11cd3
commit
84e66290e8
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user