diff options
author | Étienne Loks <etienne.loks@iggdrasil.net> | 2017-09-08 20:15:28 +0200 |
---|---|---|
committer | Étienne Loks <etienne.loks@iggdrasil.net> | 2017-09-08 20:15:28 +0200 |
commit | 49cdd2d2edcd990d0b6b3fb24ee583f238621dd9 (patch) | |
tree | 1effe009a293ac5cc0785e172be70c56d5e0a873 /UPGRADE.md | |
parent | c77b895c53fee179f5e34bb1a39be0500e6f7eb8 (diff) | |
download | Ishtar-49cdd2d2edcd990d0b6b3fb24ee583f238621dd9.tar.bz2 Ishtar-49cdd2d2edcd990d0b6b3fb24ee583f238621dd9.zip |
Update upgrade scripts
Diffstat (limited to 'UPGRADE.md')
-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 -``` - |