On 03/23/2011 08:35 AM, Hans Zorn wrote:
Op 23-3-2011 16:20, Adam Dingle schreef:

If you're upgrading from 0.7.2 -> 0.9.0, then a database conversion is
necessary, which Shotwell will perform automatically. Once you've run
0.9, you will not be able to go back to 0.7.2 with that same database.
If you're worried about that, you can always make a backup copy of your
.shotwell directory before running 0.9. Cheers -

Makes me curious: what changes are made?

The function upgrade_database() in Db.vala performs the database upgrade. 0.7.2 used database version 8, and 0.8/0.9 use version 12. Here are the relevant changes described in comments in that function:

// Version 9:
// * Added metadata_dirty flag to PhotoTable.

// Version 10:
// * Added flags column to VideoTable

// Version 11:
// * Added primary_source_id column to EventTable

// Version 12:
// * Added reason column to TombstoneTable

When I looked into the structure of the database, I was quite surprised about the way tags are connected to photos.

If you're interested in this level of detail, you could check out the Shotwell architecture overview at

http://trac.yorba.org/wiki/ShotwellArchitectureOverview

and especially the database architecture overview at

http://trac.yorba.org/wiki/ShotwellArchDatabase

adam

_______________________________________________
Shotwell mailing list
[email protected]
http://lists.yorba.org/cgi-bin/mailman/listinfo/shotwell

Reply via email to