Skip to content

Commit

Permalink
Updated README.md to clarify how to start the special migration script
Browse files Browse the repository at this point in the history
  • Loading branch information
SpeedProg authored Mar 12, 2018
1 parent 1040fd7 commit b305b5b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ If you are upgrading from a version prior to 1.2.0 you need to upgrade you datab
Then you need to run the `mysql_upgrade_1.1.4_to_1.2.0.py` script that can be found inside the `migrations` directory.
You need to adjust the name of the database inside the script.

Do this from the base waitlist directory you would start `main.py` from. E.g.: `python migrations/mysql_upgrade_1.1.4_to_1.2.0.py`.
Do this from the base waitlist directory you would start `main.py` from. E.g.: `PYTHONPATH=<yourinstalldir_where_main.py_is> python migrations/mysql_upgrade_1.1.4_to_1.2.0.py`.

The script will errors about trying to drop a primary index that doesn't exist.
I am just trying to drop them in case some one created them manually for some reason. Checking if they exists would just wast time.
Expand All @@ -88,4 +88,4 @@ After this you can download the current version and use the migration manager ag


## Normal Upgrades
run `python manager.py db upgrade` and make sure new options added to `config.cfg` are present in your config file.
run `python manager.py db upgrade` and make sure new options added to `config.cfg` are present in your config file.

0 comments on commit b305b5b

Please sign in to comment.