From 348b98f0b03f5d360cb2de4126f2ff5bfe02b8cb Mon Sep 17 00:00:00 2001 From: Rhet Turnbull Date: Sat, 8 Aug 2020 12:32:34 -0700 Subject: [PATCH] Updated Schema Changes from Photos 5 to Photos 6 (markdown) --- Schema-Changes-from-Photos-5-to-Photos-6.md | 2 ++ 1 file changed, 2 insertions(+) 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