Updating from version v0.1.1 to v0.2.0
Updating to v0.2.0
Osvauld version v0.2.0 includes schema changes from v0.1.1
Users are required to run a data migration scripts along with updating the backend docker image
Updating backend image
You can pull the image for v0.2.0 from dockerhub
Update the backend with the new image. The schema changes to the database will be done automatically along with the docker image update
stop and delete the already running image:
start the latest image, it will run db migation
Migrating Data
Migrating data to support the new backend image requires a python script execution
Download Script
download the script
Install dependencies
The python script requires the dependency psycopg2
. You can install it via pip
Edit connection parameters in the script
Edit the connection parameters in the script with you database parameters
The parameters are present at line number 5 in the script