People: Add face + subject fixtures #22

This commit is contained in:
theresa 2021-08-26 11:58:28 +02:00
parent c51452a90a
commit 01742c13ea
2 changed files with 29 additions and 0 deletions

File diff suppressed because one or more lines are too long

View file

@ -70,6 +70,23 @@ var SubjectFixtures = SubjectMap{
UpdatedAt: Timestamp(),
DeletedAt: nil,
},
"jane-doe": Subject{
SubjectUID: "jqy1y111h1njaaab",
SubjectSlug: "jane-doe",
SubjectName: "Jane Doe",
SubjectType: SubjectPerson,
SubjectSrc: SrcMarker,
Favorite: false,
Private: false,
Hidden: false,
SubjectDescription: "",
SubjectNotes: "",
MetadataJSON: []byte(""),
PhotoCount: 3,
CreatedAt: Timestamp(),
UpdatedAt: Timestamp(),
DeletedAt: nil,
},
}
// CreateSubjectFixtures inserts known entities into the database for testing.