summaryrefslogtreecommitdiff
path: root/UPGRADE.md
diff options
context:
space:
mode:
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
commitfc91e7dafd537d72b98b05365e3282d49a1843b5 (patch)
tree1effe009a293ac5cc0785e172be70c56d5e0a873 /UPGRADE.md
parent16eccd7e4c6d518b4e642e0a4f7c717f2845afaf (diff)
downloadIshtar-fc91e7dafd537d72b98b05365e3282d49a1843b5.tar.bz2
Ishtar-fc91e7dafd537d72b98b05365e3282d49a1843b5.zip
Update upgrade scripts
Diffstat (limited to 'UPGRADE.md')
-rw-r--r--UPGRADE.md18
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
-```
-