Changes between Version 5 and Version 6 of UserGuidelines/Admin/Upgrade
- Timestamp:
- 06/29/10 14:45:47 (15 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
UserGuidelines/Admin/Upgrade
v5 v6 25 25 Fix any Database Issues: 26 26 1. The .table files in the databases directory contains what web2py knows about your database 27 2. You need to set Migrate=True in {{{models/000_config.py}}} before you update the code and switch back to Migrate=False later on.28 3. In case of database mismatches - check the databases directory for the appropriate table ( cat the file )and change accordingly.27 2. You need to set deployment_settings.base.migrate=True in {{{models/000_config.py}}} before you update the code and switch back to deployment_settings.base.migrate=False later on. 28 3. In case of database mismatches - check the databases directory for the appropriate {{{.table}}} file and change accordingly. 29 29 30 If using MySQL, then can use phpMyAdmin, if using SQLite then can use sqlite3 ({{{apt-get install sqlite3}}}) 30 If using [wiki:InstallationGuidelinesMySQL MySQL], then can use [http://phpmyadmin.net phpMyAdmin], if using SQLite then can use {{{sqlite3}}} command-line tool: 31 * Linux: ({{{apt-get install sqlite3}}}) 32 * Windows: http://www.sqlite.org/sqlite-3_6_23_1.zip 33 * Documentation: http://www.sqlite.org/sqlite.html 31 34 32 35 Restore site into production: