Improve version 0.13 upgrade instructions
This commit is contained in:
+4
-43
@@ -19,6 +19,10 @@ E-mail document source
|
|||||||
~~~~~~~~~~~~~~~~~~~~~~
|
~~~~~~~~~~~~~~~~~~~~~~
|
||||||
|
|
||||||
|
|
||||||
|
Send document or document links via E-mail
|
||||||
|
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||||
|
|
||||||
|
|
||||||
Upgrading from a previous version
|
Upgrading from a previous version
|
||||||
=================================
|
=================================
|
||||||
|
|
||||||
@@ -32,52 +36,9 @@ Then create the new database structures with::
|
|||||||
|
|
||||||
Afterwards migrate existing database schema with::
|
Afterwards migrate existing database schema with::
|
||||||
|
|
||||||
$ ./manage.py migrate permissions 0001 --fake
|
|
||||||
$ ./manage.py migrate permissions
|
|
||||||
|
|
||||||
|
|
||||||
When the following message appears
|
|
||||||
|
|
||||||
::
|
|
||||||
|
|
||||||
The following content types are stale and need to be deleted:
|
|
||||||
|
|
||||||
permissions | permission
|
|
||||||
|
|
||||||
Any objects related to these content types by a foreign key will also
|
|
||||||
be deleted. Are you sure you want to delete these content types?
|
|
||||||
If you're unsure, answer 'no'.
|
|
||||||
|
|
||||||
Type 'yes' to continue, or 'no' to cancel:
|
|
||||||
|
|
||||||
Type ``yes`` and press **Enter**
|
|
||||||
|
|
||||||
And continue migrating database schema with::
|
|
||||||
|
|
||||||
$ ./manage.py migrate documents
|
|
||||||
$ ./manage.py migrate document_signatures
|
|
||||||
$ ./manage.py migrate folders 0001 --fake
|
|
||||||
$ ./manage.py migrate folders
|
|
||||||
$ ./manage.py migrate document_indexing 0001 --fake
|
|
||||||
$ ./manage.py migrate document_indexing
|
|
||||||
$ ./manage.py migrate sources 0001 --fake
|
$ ./manage.py migrate sources 0001 --fake
|
||||||
$ ./manage.py migrate sources
|
$ ./manage.py migrate sources
|
||||||
|
|
||||||
Again when a similar messages appears
|
|
||||||
::
|
|
||||||
|
|
||||||
The following content types are stale and need to be deleted:
|
|
||||||
|
|
||||||
document_indexing | indexinstance
|
|
||||||
|
|
||||||
Any objects related to these content types by a foreign key will also
|
|
||||||
be deleted. Are you sure you want to delete these content types?
|
|
||||||
If you're unsure, answer 'no'.
|
|
||||||
|
|
||||||
Type 'yes' to continue, or 'no' to cancel:
|
|
||||||
|
|
||||||
Type ``yes`` and press **Enter**
|
|
||||||
|
|
||||||
The upgrade procedure is now complete.
|
The upgrade procedure is now complete.
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user