Skip to content

Commit

Permalink
Add call to migrate to v2
Browse files Browse the repository at this point in the history
  • Loading branch information
matthewelwell committed Jan 9, 2025
1 parent 6c9ad03 commit 83edd9a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions api/environments/dynamodb/migrator.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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()

0 comments on commit 83edd9a

Please sign in to comment.