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

chore: Remove related activity #1278

Merged
merged 1 commit into from
Oct 12, 2024
Merged

Conversation

oskogstad
Copy link
Collaborator

@oskogstad oskogstad commented Oct 12, 2024

Description

Marking this as a chore. "Silently" removing this feat, there are no dialogs in staging that uses this.
Removes related activity on DialogActivity.

Related Issue(s)

Verification

  • Your code builds clean without any errors or warnings
  • Manual testing done (required)
  • Relevant automated test added (if you find this hard, leave it and we'll help out)

Documentation

  • Documentation is updated (either in docs-directory, Altinnpedia or a separate linked PR in altinn-studio-docs., if applicable)

Summary by CodeRabbit

  • New Features

    • Simplified data structures by removing the relatedActivityId field from various models, enhancing clarity in dialog and activity management.
  • Bug Fixes

    • Removed outdated validation rules related to relatedActivityId, streamlining the validation process for dialog activities.
  • Documentation

    • Updated API specifications to reflect the removal of relatedActivityId across multiple data structures, improving documentation clarity.
  • Tests

    • Removed a test related to referencing old activities, aligning tests with the updated activity structure.

@oskogstad oskogstad requested a review from a team as a code owner October 12, 2024 00:07
Copy link
Contributor

coderabbitai bot commented Oct 12, 2024

📝 Walkthrough

Walkthrough

This pull request primarily focuses on the removal of the relatedActivityId field from various data structures, including the GraphQL schema and multiple Data Transfer Objects (DTOs) related to dialog activities. The changes streamline the data models by eliminating unnecessary relationships, which simplifies the overall structure of the application. Additionally, validation rules associated with the removed field have been updated or eliminated, ensuring consistency across the application.

Changes

File Change Summary
docs/schema/V1/schema.verified.graphql Removed relatedActivityId field from Activity type.
docs/schema/V1/swagger.verified.json Removed relatedActivityId from multiple schemas including CreateDialogActivityRequest, GetDialogActivityDto, and others. Updated descriptions for clarity.
src/Digdir.Domain.Dialogporten.Application/Features/V1/Common/Events/DialogActivityEventToAltinnForwarder.cs Removed logic checking for domainEvent.RelatedActivityId in GetCloudEventData method.
src/Digdir.Domain.Dialogporten.Application/Features/V1/EndUser/DialogActivities/Queries/Get/GetDialogActivityDto.cs Removed RelatedActivityId property from GetDialogActivityDto.
src/Digdir.Domain.Dialogporten.Application/Features/V1/EndUser/DialogActivities/Queries/Search/SearchDialogActivityDto.cs Removed RelatedActivityId property from SearchDialogActivityDto.
src/Digdir.Domain.Dialogporten.Application/Features/V1/EndUser/Dialogs/Queries/Get/GetDialogDto.cs Removed RelatedActivityId property from GetDialogDialogActivityDto.
src/Digdir.Domain.Dialogporten.Application/Features/V1/EndUser/Dialogs/Queries/Search/SearchDialogDtoBase.cs Removed RelatedActivityId property from SearchDialogDialogActivityDto.
src/Digdir.Domain.Dialogporten.Application/Features/V1/ServiceOwner/DialogActivities/Queries/Get/GetDialogActivityDto.cs Removed RelatedActivityId property from GetDialogActivityDto.
src/Digdir.Domain.Dialogporten.Application/Features/V1/ServiceOwner/DialogActivities/Queries/Search/SearchDialogActivityDto.cs Removed RelatedActivityId property from SearchDialogActivityDto.
src/Digdir.Domain.Dialogporten.Application/Features/V1/ServiceOwner/Dialogs/Commands/Create/CreateDialogCommandValidator.cs Removed validation rules for RelatedActivityId in CreateDialogDialogActivityDtoValidator.
src/Digdir.Domain.Dialogporten.Application/Features/V1/ServiceOwner/Dialogs/Commands/Create/CreateDialogDto.cs Removed RelatedActivityId property from CreateDialogDialogActivityDto.
src/Digdir.Domain.Dialogporten.Application/Features/V1/ServiceOwner/Dialogs/Commands/Update/UpdateDialogCommand.cs Removed VerifyActivityRelations method from UpdateDialogCommandHandler.
src/Digdir.Domain.Dialogporten.Application/Features/V1/ServiceOwner/Dialogs/Commands/Update/UpdateDialogDto.cs Removed RelatedActivityId property from UpdateDialogDialogActivityDto.
src/Digdir.Domain.Dialogporten.Application/Features/V1/ServiceOwner/Dialogs/Queries/Get/GetDialogDto.cs Removed RelatedActivityId property from GetDialogDialogActivityDto.
src/Digdir.Domain.Dialogporten.Application/Features/V1/ServiceOwner/Dialogs/Queries/Search/SearchDialogDtoBase.cs Removed RelatedActivityId property from SearchDialogDialogActivityDto.
src/Digdir.Domain.Dialogporten.Domain/Dialogs/Entities/Activities/DialogActivity.cs Removed RelatedActivityId, RelatedActivity, and RelatedActivities properties from DialogActivity.
src/Digdir.Domain.Dialogporten.Domain/Dialogs/Events/Activities/DialogActivityCreatedDomainEvent.cs Updated record signature to remove RelatedActivityId.
src/Digdir.Domain.Dialogporten.GraphQL/EndUser/Common/ObjectTypes.cs Removed RelatedActivityId property from Activity class.
src/Digdir.Domain.Dialogporten.Infrastructure/Persistence/Configurations/Dialogs/Activities/DialogActivityConfiguration.cs Removed configuration for RelatedActivity relationship.
src/Digdir.Domain.Dialogporten.Infrastructure/Persistence/Migrations/20241011235344_RemoveRelatedActivity.Designer.cs Added migration class RemoveRelatedActivity.
src/Digdir.Domain.Dialogporten.Infrastructure/Persistence/Migrations/20241011235344_RemoveRelatedActivity.cs Implemented migration to remove RelatedActivityId column from DialogActivity table.
src/Digdir.Domain.Dialogporten.Infrastructure/Persistence/Migrations/DialogDbContextModelSnapshot.cs Updated model snapshot to reflect removal of RelatedActivityId from DialogActivity.
tests/Digdir.Domain.Dialogporten.Application.Integration.Tests/Features/V1/ServiceOwner/Dialogs/Commands/UpdateDialogTests.cs Removed test method New_Activity_Should_Be_Able_To_Refer_To_Old_Activity.

Possibly related issues

Possibly related PRs

Suggested reviewers

  • MagnusSandgren: Suggested as a reviewer based on relevance to the changes made in this PR.

Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?

❤️ Share
🪧 Tips

Chat

There are 3 ways to chat with CodeRabbit:

  • Review comments: Directly reply to a review comment made by CodeRabbit. Example:
    • I pushed a fix in commit <commit_id>, please review it.
    • Generate unit testing code for this file.
    • Open a follow-up GitHub issue for this discussion.
  • Files and specific lines of code (under the "Files changed" tab): Tag @coderabbitai in a new review comment at the desired location with your query. Examples:
    • @coderabbitai generate unit testing code for this file.
    • @coderabbitai modularize this function.
  • PR comments: Tag @coderabbitai in a new PR comment to ask questions about the PR branch. For the best results, please provide a very specific query, as very limited context is provided in this mode. Examples:
    • @coderabbitai gather interesting stats about this repository and render them as a table. Additionally, render a pie chart showing the language distribution in the codebase.
    • @coderabbitai read src/utils.ts and generate unit testing code.
    • @coderabbitai read the files in the src/scheduler package and generate a class diagram using mermaid and a README in the markdown format.
    • @coderabbitai help me debug CodeRabbit configuration file.

Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments.

CodeRabbit Commands (Invoked using PR comments)

  • @coderabbitai pause to pause the reviews on a PR.
  • @coderabbitai resume to resume the paused reviews.
  • @coderabbitai review to trigger an incremental review. This is useful when automatic reviews are disabled for the repository.
  • @coderabbitai full review to do a full review from scratch and review all the files again.
  • @coderabbitai summary to regenerate the summary of the PR.
  • @coderabbitai resolve resolve all the CodeRabbit review comments.
  • @coderabbitai configuration to show the current CodeRabbit configuration for the repository.
  • @coderabbitai help to get help.

Other keywords and placeholders

  • Add @coderabbitai ignore anywhere in the PR description to prevent this PR from being reviewed.
  • Add @coderabbitai summary to generate the high-level summary at a specific location in the PR description.
  • Add @coderabbitai anywhere in the PR title to generate the title automatically.

Documentation and Community

  • Visit our Documentation for detailed information on how to use CodeRabbit.
  • Join our Discord Community to get help, request features, and share feedback.
  • Follow us on X/Twitter for updates and announcements.

Copy link

Copy link
Contributor

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

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

Actionable comments posted: 1

🧹 Outside diff range and nitpick comments (2)
src/Digdir.Domain.Dialogporten.Domain/Dialogs/Entities/Activities/DialogActivity.cs (2)

Line range hint 1-37: Approved: Removal of related activity properties

The removal of RelatedActivityId, RelatedActivity, and RelatedActivities properties aligns with the PR objective of removing the related activity feature. This simplification of the class structure is appropriate given that the feature is not currently in use.

Consider adding a comment explaining why these properties were removed, to provide context for future developers:

// Related activity properties removed as part of feature cleanup (PR #1278)

Also applies to: 39-57


Line range hint 1-57: Summary: Successful removal of related activity feature

The changes in this file effectively remove the related activity feature from the DialogActivity class. This includes:

  1. Removal of RelatedActivityId, RelatedActivity, and RelatedActivities properties.
  2. Updating the OnCreate method to remove the RelatedActivityId parameter from the domain event creation.

These changes align well with the PR objectives and simplify the class structure. The removal of unused features helps in maintaining a cleaner codebase.

As the codebase evolves, consider periodically reviewing and removing unused features to prevent accumulation of unnecessary code. This practice helps in maintaining a lean and efficient codebase.

📜 Review details

Configuration used: .coderabbit.yaml
Review profile: CHILL

📥 Commits

Files that changed from the base of the PR and between dd4b019 and 6218327.

📒 Files selected for processing (24)
  • docs/schema/V1/schema.verified.graphql (0 hunks)
  • docs/schema/V1/swagger.verified.json (0 hunks)
  • src/Digdir.Domain.Dialogporten.Application/Features/V1/Common/Events/DialogActivityEventToAltinnForwarder.cs (0 hunks)
  • src/Digdir.Domain.Dialogporten.Application/Features/V1/EndUser/DialogActivities/Queries/Get/GetDialogActivityDto.cs (0 hunks)
  • src/Digdir.Domain.Dialogporten.Application/Features/V1/EndUser/DialogActivities/Queries/Search/SearchDialogActivityDto.cs (0 hunks)
  • src/Digdir.Domain.Dialogporten.Application/Features/V1/EndUser/Dialogs/Queries/Get/GetDialogDto.cs (0 hunks)
  • src/Digdir.Domain.Dialogporten.Application/Features/V1/EndUser/Dialogs/Queries/Search/SearchDialogDtoBase.cs (0 hunks)
  • src/Digdir.Domain.Dialogporten.Application/Features/V1/ServiceOwner/DialogActivities/Queries/Get/GetDialogActivityDto.cs (0 hunks)
  • src/Digdir.Domain.Dialogporten.Application/Features/V1/ServiceOwner/DialogActivities/Queries/Search/SearchDialogActivityDto.cs (0 hunks)
  • src/Digdir.Domain.Dialogporten.Application/Features/V1/ServiceOwner/Dialogs/Commands/Create/CreateDialogCommandValidator.cs (0 hunks)
  • src/Digdir.Domain.Dialogporten.Application/Features/V1/ServiceOwner/Dialogs/Commands/Create/CreateDialogDto.cs (0 hunks)
  • src/Digdir.Domain.Dialogporten.Application/Features/V1/ServiceOwner/Dialogs/Commands/Update/UpdateDialogCommand.cs (0 hunks)
  • src/Digdir.Domain.Dialogporten.Application/Features/V1/ServiceOwner/Dialogs/Commands/Update/UpdateDialogCommandValidator.cs (0 hunks)
  • src/Digdir.Domain.Dialogporten.Application/Features/V1/ServiceOwner/Dialogs/Commands/Update/UpdateDialogDto.cs (0 hunks)
  • src/Digdir.Domain.Dialogporten.Application/Features/V1/ServiceOwner/Dialogs/Queries/Get/GetDialogDto.cs (0 hunks)
  • src/Digdir.Domain.Dialogporten.Application/Features/V1/ServiceOwner/Dialogs/Queries/Search/SearchDialogDtoBase.cs (0 hunks)
  • src/Digdir.Domain.Dialogporten.Domain/Dialogs/Entities/Activities/DialogActivity.cs (1 hunks)
  • src/Digdir.Domain.Dialogporten.Domain/Dialogs/Events/Activities/DialogActivityCreatedDomainEvent.cs (1 hunks)
  • src/Digdir.Domain.Dialogporten.GraphQL/EndUser/Common/ObjectTypes.cs (0 hunks)
  • src/Digdir.Domain.Dialogporten.Infrastructure/Persistence/Configurations/Dialogs/Activities/DialogActivityConfiguration.cs (0 hunks)
  • src/Digdir.Domain.Dialogporten.Infrastructure/Persistence/Migrations/20241011235344_RemoveRelatedActivity.Designer.cs (1 hunks)
  • src/Digdir.Domain.Dialogporten.Infrastructure/Persistence/Migrations/20241011235344_RemoveRelatedActivity.cs (1 hunks)
  • src/Digdir.Domain.Dialogporten.Infrastructure/Persistence/Migrations/DialogDbContextModelSnapshot.cs (1 hunks)
  • tests/Digdir.Domain.Dialogporten.Application.Integration.Tests/Features/V1/ServiceOwner/Dialogs/Commands/UpdateDialogTests.cs (0 hunks)
💤 Files with no reviewable changes (19)
  • docs/schema/V1/schema.verified.graphql
  • docs/schema/V1/swagger.verified.json
  • src/Digdir.Domain.Dialogporten.Application/Features/V1/Common/Events/DialogActivityEventToAltinnForwarder.cs
  • src/Digdir.Domain.Dialogporten.Application/Features/V1/EndUser/DialogActivities/Queries/Get/GetDialogActivityDto.cs
  • src/Digdir.Domain.Dialogporten.Application/Features/V1/EndUser/DialogActivities/Queries/Search/SearchDialogActivityDto.cs
  • src/Digdir.Domain.Dialogporten.Application/Features/V1/EndUser/Dialogs/Queries/Get/GetDialogDto.cs
  • src/Digdir.Domain.Dialogporten.Application/Features/V1/EndUser/Dialogs/Queries/Search/SearchDialogDtoBase.cs
  • src/Digdir.Domain.Dialogporten.Application/Features/V1/ServiceOwner/DialogActivities/Queries/Get/GetDialogActivityDto.cs
  • src/Digdir.Domain.Dialogporten.Application/Features/V1/ServiceOwner/DialogActivities/Queries/Search/SearchDialogActivityDto.cs
  • src/Digdir.Domain.Dialogporten.Application/Features/V1/ServiceOwner/Dialogs/Commands/Create/CreateDialogCommandValidator.cs
  • src/Digdir.Domain.Dialogporten.Application/Features/V1/ServiceOwner/Dialogs/Commands/Create/CreateDialogDto.cs
  • src/Digdir.Domain.Dialogporten.Application/Features/V1/ServiceOwner/Dialogs/Commands/Update/UpdateDialogCommand.cs
  • src/Digdir.Domain.Dialogporten.Application/Features/V1/ServiceOwner/Dialogs/Commands/Update/UpdateDialogCommandValidator.cs
  • src/Digdir.Domain.Dialogporten.Application/Features/V1/ServiceOwner/Dialogs/Commands/Update/UpdateDialogDto.cs
  • src/Digdir.Domain.Dialogporten.Application/Features/V1/ServiceOwner/Dialogs/Queries/Get/GetDialogDto.cs
  • src/Digdir.Domain.Dialogporten.Application/Features/V1/ServiceOwner/Dialogs/Queries/Search/SearchDialogDtoBase.cs
  • src/Digdir.Domain.Dialogporten.GraphQL/EndUser/Common/ObjectTypes.cs
  • src/Digdir.Domain.Dialogporten.Infrastructure/Persistence/Configurations/Dialogs/Activities/DialogActivityConfiguration.cs
  • tests/Digdir.Domain.Dialogporten.Application.Integration.Tests/Features/V1/ServiceOwner/Dialogs/Commands/UpdateDialogTests.cs
🧰 Additional context used
📓 Learnings (3)
src/Digdir.Domain.Dialogporten.Infrastructure/Persistence/Migrations/20241011235344_RemoveRelatedActivity.Designer.cs (4)
Learnt from: elsand
PR: digdir/dialogporten#1110
File: src/Digdir.Domain.Dialogporten.Infrastructure/Persistence/Migrations/20240910063003_AddDialogActivityDialogOpened.cs:13-16
Timestamp: 2024-09-16T06:47:29.219Z
Learning: Do not consider style or maintainability issues in migration files generated by Entity Framework during code reviews.
Learnt from: elsand
PR: digdir/dialogporten#1110
File: src/Digdir.Domain.Dialogporten.Infrastructure/Persistence/Migrations/20240910063003_AddDialogActivityDialogOpened.cs:13-16
Timestamp: 2024-10-08T15:39:24.789Z
Learning: Do not consider style or maintainability issues in migration files generated by Entity Framework during code reviews.
Learnt from: elsand
PR: digdir/dialogporten#1110
File: src/Digdir.Domain.Dialogporten.Infrastructure/Persistence/Migrations/20240910063003_AddDialogActivityDialogOpened.cs:13-16
Timestamp: 2024-10-08T15:39:24.789Z
Learning: Ensure that changes to domain entities are accompanied by corresponding migrations.
Learnt from: elsand
PR: digdir/dialogporten#1110
File: src/Digdir.Domain.Dialogporten.Infrastructure/Persistence/Migrations/20240910063003_AddDialogActivityDialogOpened.cs:13-16
Timestamp: 2024-09-16T06:47:29.219Z
Learning: Ensure that changes to domain entities are accompanied by corresponding migrations.
src/Digdir.Domain.Dialogporten.Infrastructure/Persistence/Migrations/20241011235344_RemoveRelatedActivity.cs (4)
Learnt from: elsand
PR: digdir/dialogporten#1110
File: src/Digdir.Domain.Dialogporten.Infrastructure/Persistence/Migrations/20240910063003_AddDialogActivityDialogOpened.cs:13-16
Timestamp: 2024-09-16T06:47:29.219Z
Learning: Do not consider style or maintainability issues in migration files generated by Entity Framework during code reviews.
Learnt from: elsand
PR: digdir/dialogporten#1110
File: src/Digdir.Domain.Dialogporten.Infrastructure/Persistence/Migrations/20240910063003_AddDialogActivityDialogOpened.cs:13-16
Timestamp: 2024-10-08T15:39:24.789Z
Learning: Do not consider style or maintainability issues in migration files generated by Entity Framework during code reviews.
Learnt from: elsand
PR: digdir/dialogporten#1110
File: src/Digdir.Domain.Dialogporten.Infrastructure/Persistence/Migrations/20240910063003_AddDialogActivityDialogOpened.cs:13-16
Timestamp: 2024-10-08T15:39:24.789Z
Learning: Ensure that changes to domain entities are accompanied by corresponding migrations.
Learnt from: elsand
PR: digdir/dialogporten#1110
File: src/Digdir.Domain.Dialogporten.Infrastructure/Persistence/Migrations/20240910063003_AddDialogActivityDialogOpened.cs:13-16
Timestamp: 2024-09-16T06:47:29.219Z
Learning: Ensure that changes to domain entities are accompanied by corresponding migrations.
src/Digdir.Domain.Dialogporten.Infrastructure/Persistence/Migrations/DialogDbContextModelSnapshot.cs (2)
Learnt from: elsand
PR: digdir/dialogporten#1110
File: src/Digdir.Domain.Dialogporten.Infrastructure/Persistence/Migrations/20240910063003_AddDialogActivityDialogOpened.cs:13-16
Timestamp: 2024-10-08T15:39:24.789Z
Learning: Do not consider style or maintainability issues in migration files generated by Entity Framework during code reviews.
Learnt from: elsand
PR: digdir/dialogporten#1110
File: src/Digdir.Domain.Dialogporten.Infrastructure/Persistence/Migrations/20240910063003_AddDialogActivityDialogOpened.cs:13-16
Timestamp: 2024-09-16T06:47:29.219Z
Learning: Do not consider style or maintainability issues in migration files generated by Entity Framework during code reviews.
🔇 Additional comments (8)
src/Digdir.Domain.Dialogporten.Domain/Dialogs/Events/Activities/DialogActivityCreatedDomainEvent.cs (1)

Line range hint 1-14: LGTM! The change aligns with the PR objectives.

The removal of the RelatedActivityId parameter from the DialogActivityCreatedDomainEvent record is consistent with the goal of removing the related activity feature. This change simplifies the data model and removes unnecessary relationships.

To ensure consistency across the codebase, please run the following script to check for any remaining references to RelatedActivityId in the context of dialog activities:

This script will help identify any places where RelatedActivityId might still be referenced, ensuring that the removal is complete and consistent throughout the codebase.

src/Digdir.Domain.Dialogporten.Infrastructure/Persistence/Migrations/20241011235344_RemoveRelatedActivity.cs (3)

9-10: LGTM: Migration class declaration is appropriate.

The migration class name RemoveRelatedActivity accurately reflects the purpose of this migration, which aligns with the PR objectives to remove the related activity feature.


12-25: LGTM: Up method correctly implements the removal of RelatedActivityId.

The Up method properly removes the RelatedActivityId column and its associated constraints from the DialogActivity table. The sequence of operations is correct:

  1. Drops the foreign key constraint.
  2. Removes the index.
  3. Deletes the column.

This implementation aligns with the PR objectives to remove the related activity feature.


28-48: LGTM: Down method correctly reverses the migration.

The Down method properly reinstates the RelatedActivityId column and its associated constraints in the DialogActivity table. The sequence of operations is correct:

  1. Adds the column back.
  2. Creates the index.
  3. Adds the foreign key constraint.

This implementation provides a proper rollback mechanism if needed.

Note: The foreign key constraint is set with onDelete: ReferentialAction.SetNull. This means that if a related activity is deleted, the RelatedActivityId will be set to null rather than causing a cascading delete or throwing an error. This behavior aligns with the original schema design.

src/Digdir.Domain.Dialogporten.Domain/Dialogs/Entities/Activities/DialogActivity.cs (1)

38-38: Approved: Updated domain event creation

The removal of the RelatedActivityId parameter from the DialogActivityCreatedDomainEvent constructor is consistent with the removal of related activity properties.

To ensure this change doesn't break any existing code, please verify that all usages of DialogActivityCreatedDomainEvent have been updated accordingly. Run the following script to check for any remaining references:

✅ Verification successful

Verified: Removal of RelatedActivityId Parameter

All constructor calls to DialogActivityCreatedDomainEvent have been updated to remove the RelatedActivityId parameter. No remaining references were found.

🏁 Scripts executed

The following scripts were executed for the analysis:

Script:

#!/bin/bash
# Description: Check for any remaining references to RelatedActivityId in DialogActivityCreatedDomainEvent usage

# Search for DialogActivityCreatedDomainEvent constructor calls
rg --type csharp -A 10 "new DialogActivityCreatedDomainEvent\("

Length of output: 1399

src/Digdir.Domain.Dialogporten.Infrastructure/Persistence/Migrations/DialogDbContextModelSnapshot.cs (2)

20-20: Entity Framework Core version update approved.

The ProductVersion has been updated from "8.0.8" to "8.0.10", which likely reflects an upgrade in the Entity Framework Core version used in the project. This update is appropriate and aligns with keeping the project dependencies up-to-date.


Line range hint 1-1023: Removal of RelatedActivityId from DialogActivity entity.

The RelatedActivityId property has been removed from the DialogActivity entity, which is consistent with the PR objective of removing the related activity feature. This change appears to be intentional and aligns with the desired modifications outlined in the pull request.

src/Digdir.Domain.Dialogporten.Infrastructure/Persistence/Migrations/20241011235344_RemoveRelatedActivity.Designer.cs (1)

1-1984: Migration file is properly generated

The migration file RemoveRelatedActivity appears to be correctly generated by Entity Framework to remove the relatedActivityId field as per the PR objectives. No issues detected.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

2 participants