From 83edd9aeab9dd86bae7ddde0ad1e4c1f60f3d175 Mon Sep 17 00:00:00 2001 From: Matthew Elwell Date: Thu, 9 Jan 2025 14:41:32 +0000 Subject: [PATCH] Add call to migrate to v2 --- api/environments/dynamodb/migrator.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/api/environments/dynamodb/migrator.py b/api/environments/dynamodb/migrator.py index d53763c20160..975b4c192921 100644 --- a/api/environments/dynamodb/migrator.py +++ b/api/environments/dynamodb/migrator.py @@ -6,6 +6,7 @@ from features.models import FeatureState from features.multivariate.models import MultivariateFeatureStateValue from projects.models import Project +from projects.tasks import migrate_project_environments_to_v2 from util.queryset import iterator_with_prefetch from .types import DynamoProjectMetadata, ProjectIdentityMigrationStatus @@ -81,4 +82,5 @@ def migrate(self): ) ) identity_wrapper.write_identities(iterator_with_prefetch(identities)) + migrate_project_environments_to_v2(project_id) self.project_metadata.finish_identity_migration()