Database MigrationsΒΆ

Ocationally, new tables get added to openlibrary database and some existing tables get altered. Scripts are provided to migrate the existing dev instances to new schema.

To migrate an existing dev instance:

$ python shell
$ python scripts/

This will look the current database schema and identifies its version and upgrades it to the latest version.