Skip to content

Commit

Permalink
added log
Browse files Browse the repository at this point in the history
  • Loading branch information
snyaggarwal committed Jul 6, 2022
1 parent 398ff4d commit 3952c1e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions core/common/management/commands/reference_old_to_new.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ class Command(BaseCommand):
def handle(self, *args, **options):
for reference in CollectionReference.objects.filter(
expression__isnull=False, system__isnull=True, valueset__isnull=True):
print(f"Migrating {reference.uri}: {reference.expression}...")
parser = CollectionReferenceExpressionStringParser(expression=reference.expression)
parser.parse()
ref_struct = parser.to_reference_structure()[0]
Expand Down

0 comments on commit 3952c1e

Please sign in to comment.