From 13a2e8ba081b15ff07065b812c4facdfab1cebfd Mon Sep 17 00:00:00 2001 From: Étienne Loks Date: Thu, 20 Apr 2017 11:17:35 +0200 Subject: Upgrade instructions (WIP) --- UPGRADE.md | 41 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 UPGRADE.md (limited to 'UPGRADE.md') 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 +./manage.py migrate +``` + +Upgrade to ishtar sources and fake initial migrations. + +``` +cd +./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 + +``` -- cgit v1.2.3