Updated Schema Changes from Photos 5 to Photos 6 (markdown)

Rhet Turnbull
2020-08-08 12:32:34 -07:00
parent 6326b0411f
commit 348b98f0b0

@@ -1,5 +1,7 @@
Following data from Photos Version 6.0 (300.8.140) on Big Sur version 11.0 Beta (20A5343j) Following data from Photos Version 6.0 (300.8.140) on Big Sur version 11.0 Beta (20A5343j)
The biggest change appears to be that `ZGENERICASSET` renamed `ZASSET`. Some of the primary keys changed (e.g. `ZASSET = 3` instead `ZGENERICASSET = 34`) which means some of the mappings for foreign key lookups need to change. The main tables used by osxphotos though don't have a lot of changes beyond renaming `ZGENERICASSET` which means porting the code to work with the new database won't be terribly hard.
Primary Key Changes from Photos 5 to Photos 6 (read as a diff: `-` == row deleted, `+` == row added) Primary Key Changes from Photos 5 to Photos 6 (read as a diff: `-` == row deleted, `+` == row added)
Z_ENT|Z_NAME Z_ENT|Z_NAME