From 42f9f1d2ff8b600c8899f3c61abee7c9e1dac642 Mon Sep 17 00:00:00 2001 From: Rhet Turnbull Date: Mon, 10 Aug 2020 07:42:40 -0700 Subject: [PATCH] Updated Photos version 5 database (markdown) --- Photos-version-5-database.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Photos-version-5-database.md b/Photos-version-5-database.md index e216cba..5e24efa 100644 --- a/Photos-version-5-database.md +++ b/Photos-version-5-database.md @@ -47,6 +47,11 @@ If you change the sort order manually, the value of `Z_FOK_34ASSETS` of the phot See also the [discussion in #184](https://github.com/RhetTbull/osxphotos/issues/184) +## Import Sessions + +Import sessions are stored in `ZGENERICALBUM` with 'ZKIND = 1506`. When a photo is imported, the value ZGENERICASSET.ZIMPORTSESSION is set to the primary key of the corresponding import album in `ZGENERICALBUM`. + + **TODO** Document the following * [ ] Joining assets