Recreate db issues.

Related to:
https://github.com/artefactual/archivematica/commit/c85fe67350fc4bffd88453507c42cc45668b95d5