Improve version 0.13 upgrade instructions

This commit is contained in:
Roberto Rosario
2012-03-12 22:26:53 -04:00
parent 460e0b3a26
commit a5ac14ea3f

View File

@@ -19,6 +19,10 @@ E-mail document source
~~~~~~~~~~~~~~~~~~~~~~
Send document or document links via E-mail
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Upgrading from a previous version
=================================
@@ -32,52 +36,9 @@ Then create the new database structures 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
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.