upgrade_database
- caqtus.extension.upgrade_database(experiment: Experiment) None
Upgrade the database schema of the experiment to the latest version.
Warning
It is strongly recommended to back up the database before running this function in case something goes wrong.
- Parameters:
experiment – The experiment to upgrade the database for. It must have been configured with a PostgreSQL storage backend.