Changes between Version 5 and Version 6 of UserGuidelines/Admin/Upgrade


Ignore:
Timestamp:
06/29/10 14:45:47 (11 years ago)
Author:
Fran Boon
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • UserGuidelines/Admin/Upgrade

    v5 v6  
    2525Fix any Database Issues:
    2626 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.
    2929
    30 If using MySQL, then can use phpMyAdmin, if using SQLite then can use sqlite3 ({{{apt-get install sqlite3}}})
     30If 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
    3134
    3235Restore site into production: