Quote:
Originally Posted by chaley
It is. However, as you suspected, it isn't the end of the story. There is code in library.database and library.database2 that upgrades the database to the current version. When initializing, calibre creates a V1 database (the sql you were looking at), then upgrades it.
It is worth noting that metadata is a view, so is never ALTERed. It is simply recreated as needed.
|
Make sense, the upgrade method code can work correctly from almost any version to the current version this way, including an initial install. Elegant.