Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Integrate the job from #387 and update it to use the new migrated_to_core_model fields from #400 #411

Open
wants to merge 9 commits into
base: next3.0
Choose a base branch
from

Conversation

gsnider2195
Copy link
Contributor

@gsnider2195 gsnider2195 commented Jan 24, 2025

Closes #402

What's Changed

This is based off of my branch for #400. The merge conflicts are already resolved in my branch and I didn't want to have to do that again to try to base this off of #387. I added the job from #387 in commit d99a7bb and each subsequent commit was built incrementally to make this easier to review. I'll rebase this after #400 is merged.

Screenshots

TODO

  • Update references to dlm_to_core_id_map
  • Explanation of Change(s)
  • Added change log fragment(s) (for more information see the documentation)
  • Attached Screenshots, Payload Example
  • Unit, Integration Tests
  • Documentation Updates (when adding/changing features)
  • Example App Updates (when adding/changing features)
  • Outline Remaining Work, Constraints from Design

Comment on lines 108 to 111
try:
with transaction.atomic():
try:
self.migrate_dlm_models_to_core()
finally:
if dryrun:
raise RollbackTransaction("Dryrun mode. Rolling back changes.")
except RollbackTransaction:
self.logger.info("Transaction rolled back.")
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I changed this slightly in a later commit

@gsnider2195 gsnider2195 force-pushed the u/gas-402-dlm-to-core-migrations branch from caa4e31 to dea7947 Compare January 25, 2025 00:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant