diff --git a/Schema-Changes-from-Photos-5-to-Photos-6.md b/Schema-Changes-from-Photos-5-to-Photos-6.md index 8db0253..9c395db 100644 --- a/Schema-Changes-from-Photos-5-to-Photos-6.md +++ b/Schema-Changes-from-Photos-5-to-Photos-6.md @@ -1,5 +1,7 @@ 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) Z_ENT|Z_NAME