WIP. migration

This commit is contained in:
Mathias Behrle
2015-01-28 15:19:56 -04:00
committed by Roberto Rosario
parent 5bed264c81
commit 69cc1277cb
+18 -8
View File
@@ -78,26 +78,36 @@ Migrate existing database schema with::
$ mayan-edms.py migrate tags 0001 --fake $ mayan-edms.py migrate tags 0001 --fake
$ mayan-edms.py migrate $ mayan-edms.py migrate
During the migration the message::
During the migration several messages of stale content types can occur::
The following content types are stale and need to be deleted: The following content types are stale and need to be deleted:
metadata | documenttypedefaults
metadata | metadataset
metadata | metadatasetitem
ocr | documentqueue ocr | documentqueue
ocr | queuedocument ocr | queuedocument
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: sources | watchfolder
sources | outofprocess
and sources | webform
sources | stagingfolder
The following content types are stale and need to be deleted:
tags | tagproperties tags | tagproperties
Any objects related to these content types by a foreign key will also 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? be deleted. Are you sure you want to delete these content types?
If you're unsure, answer 'no'. If you're unsure, answer 'no'.
@@ -105,7 +115,7 @@ If you're unsure, answer 'no'.
Type 'yes' to continue, or 'no' to cancel: Type 'yes' to continue, or 'no' to cancel:
You can safely answer "yes" to both. You can safely answer "yes".
Add new static media:: Add new static media::