Project

Profile

Help

Issue #8656

closed

Remove external call from 0061_call_handle_artifact_checksums_command

Added by osapryki over 3 years ago. Updated over 3 years ago.

Status:
CLOSED - CURRENTRELEASE
Priority:
Normal
Assignee:
Category:
-
Sprint/Milestone:
Start date:
Due date:
Estimated time:
Severity:
2. Medium
Version:
Platform Release:
OS:
Triaged:
Yes
Groomed:
No
Sprint Candidate:
No
Tags:
Sprint:
Sprint 97
Quarter:

Description

Calling management command from migrations eventually leads to breaking the migration tree in new installations, once the models used in handle-artifact-checksums go out of sync with schema valid during application of this particular migration.

Migrations must not depend on models neither directly nor indirectly (through management commands).

Possible workaround would be to replace calling management command in the migration with noop.

Also available in: Atom PDF