Move the code to trigger on the post_migrate signal. Avoid "database not ready" errors during tests and initialsetup. Signed-off-by: Roberto Rosario <roberto.rosario@mayan-edms.com>
Move the code to trigger on the post_migrate signal. Avoid "database not ready" errors during tests and initialsetup. Signed-off-by: Roberto Rosario <roberto.rosario@mayan-edms.com>