Migrate from release 0.8.14 to 0.9.0
The release 0.9.0 is not backward compatible since it uses a new database schema. The different steps of the migration are the following:
> cd scripts
> ./run dump ../models/_db_pro.py
> ./run mysql ../models/_db_pro.py dbschema_0900.sql
> ./run mysql ../models/_db_pro.py graphs_0900.sql
> ./run loop ../models/_db_pro.py fix_country_0900.py
> ./run loop ../models/_db_pro.py fix_origin_0900.py
> ./run loop ../models/_db_pro.py fix_publisher_0900.py
> cd ../models
> mv ux0_preferences.py.off ux0_preferences.py
> mv ux0_authors_roles.py.off ux0_authors_roles.py
- Launch
web2py
- Run the application
- Rename the files
ux0_preferences
,ux0_authors_roles
to*.py.off
- Check the list of publisher against doublon, empty names, etc.