summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--UPGRADE.md41
1 files changed, 41 insertions, 0 deletions
diff --git a/UPGRADE.md b/UPGRADE.md
new file mode 100644
index 000000000..b6c73a35f
--- /dev/null
+++ b/UPGRADE.md
@@ -0,0 +1,41 @@
+v1 to v2.0
+----------
+
+Before upgrading to v2.0, update to the last v1 version. Then apply all
+databases migrations:
+
+```
+cd <application-path>
+./manage.py migrate
+```
+
+Upgrade to ishtar sources and fake initial migrations.
+
+```
+cd <application-path>
+./manage.py migrate --fake-initial
+```
+
+
+TODO: what is not done in theses migrations with fake-initials:
+
+```
+ishtar_common
+0001_initial.py
+
+archaeological_context_records/migrations/:
+0001_initial.py 0002_auto_20170414_2123.py 0003_auto_20170414_2123.py 0004_views.py
+
+archaeological_files/migrations/:
+0001_initial.py 0002_auto_20170414_2123.py 0003_views.py
+
+archaeological_finds/migrations/:
+0001_initial.py 0002_auto_20170414_2123.py 0003_views.py
+
+archaeological_operations/migrations/:
+0001_initial.py 0002_auto_20170414_2123.py 0003_views.py
+
+archaeological_warehouse/migrations/:
+0001_initial.py 0002_auto_20170414_2123.py
+
+```