Updated Photos version 5 database (markdown)

Rhet Turnbull
2020-05-09 18:18:06 -05:00
parent cea7943dc0
commit e6cd3f7016

@@ -1,3 +1,20 @@
The full schema of the Photos 5 database is available [here](https://github.com/RhetTbull/osxphotos/wiki/Photos-5-database-schema).
`PhotosDB._process_database5()` reads the `Photos.sqlite` file to extract all known metadata.
The primary tables of concern are:
|Table Name|Description|
|---|---|
|ZGENERICASSET| |
|ZADDITIONALASSETATTRIBUTES| |
|ZPERSON| |
|ZDETECTEDFACE| |
|ZGENERICALBUM| |
|Z_26ASSETS| |
|ZKEYWORD| |
|ZASSETDESCRIPTION| |
|ZUNMANAGEDADJUSTMENT| |
|ZINTERNRESOURCE| |
|ZCLOUDMASTER| |
|ZUNIFORMTYPEIDENTIFIER| |