Database Upgrades#

Occasionally AequilibraE needs to make changes to the database schemas or provide format upgrades. These changes are delivered through a set of migration files shipped with AequilibraE.

Database upgrades can be applied via the project.upgrade() function. All applicable upgrades will be applied and marked as such in the migrations table of project_database.sqlite. On first upgrade this table will be created.

Database downgrades are not supported. Previous versions of AequilibraE are not guaranteed to work with newer databases.

If skipping a specific migration is required, use the aequilibrae.project.MigrationManager object directly. Consult its documentation page for details. Take care when skipping migrations.

All database upgrades are applied within a single transaction.