diff options
-rw-r--r-- | UPGRADE.md | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/UPGRADE.md b/UPGRADE.md index 26821d77c..34d1560db 100644 --- a/UPGRADE.md +++ b/UPGRADE.md @@ -1,7 +1,7 @@ v1 to v2.0 ---------- -Before upgrading to v2.0, update to the last v1 version. Then apply all +Before upgrading to v2.0, update to the last v1 version. Then apply all databases migrations: ``` @@ -9,6 +9,14 @@ cd <application-path> ./manage.py migrate ``` +Just after upgrade of the code and of the lib, some manual db migrations (user, +database name and password can be found in your local settings): + +``` +cd <ishtar-path> +psql -h 127.0.0.1 -U myishtardbuser myishtardb -f scripts/migrate_from_v1_to_v2.sql +``` + Upgrade to ishtar sources and fake initial migrations. ``` @@ -27,11 +35,3 @@ cd <application-path> ./manage.py migrate --fake archaeological_warehouse 0002_auto_20170414_2123 ./manage.py migrate ``` - -And finaly some manual db migrations (user, database name and password can be found in your local settings): - -``` -cd <ishtar-path> -psql -U myishtardbuser myishtardb -f scripts/migrate_from_v1_to_v2.sql -``` - |