Updated Understanding the Photos database (markdown)

Rhet Turnbull
2020-05-09 10:06:40 -05:00
parent 7aa966edd7
commit 158441dcb1

@@ -1 +1,13 @@
blah
Photos (and iPhotos as well as Aperture) stores data about the photos in the Photos library in a sqlite3 database file inside the `Photos Library.photoslibrary` folder.
osxphotos currently supports the following versions of the Photos database and associated MacOS version:
* Photos 2.0 (MacOS 10.12)
* Photos 3.0 (MacOS 10.13)
* Photos 4.0 (MacOS 10.14)
* Photos 5.0 (MacOS 10.15)
In Photos 2.0 - 4.0, the database format is very similar between versions. Photos 5.0 appeared to be a complete rewrite with a completely different database structure.
In Photos 2.0 - 4.0, the sqlite3 database is located in:
`~/Pictures/Photos Library.photoslibrary/database/photos.db'