Updated Photos version 5 database (markdown)

Rhet Turnbull
2020-08-13 06:21:30 -07:00
parent 42f9f1d2ff
commit aa4aad9be7

@@ -51,6 +51,7 @@ See also the [discussion in #184](https://github.com/RhetTbull/osxphotos/issues/
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`.
In Photos 5, the import order is stored in a similar manner as the discussion above on album sort order. The value in `ZGENERICASSET.Z_FOK_IMPORTSESSION` defines the sort order for an import session. In Photos 6, `ZGENERICASSET` is renamed `ZASSET` and it no longer contains the the `Z_FOK_IMPORTSESSION` column. I've not yet determined how Photos 6 stores the import order.
**TODO** Document the following