Skip to content

FUND-2357 Using new field overigeData , removing old one stage 2#154

Merged
ragaumon merged 2 commits intomainfrom
fix/FUND-2357_overigedata_json_stage2
Mar 25, 2026
Merged

FUND-2357 Using new field overigeData , removing old one stage 2#154
ragaumon merged 2 commits intomainfrom
fix/FUND-2357_overigedata_json_stage2

Conversation

@ragaumon
Copy link
Copy Markdown
Contributor

@ragaumon ragaumon commented Feb 26, 2026

Pull Request

Description

Using new overigeData field jsonb type, removed old one

Type of Change

  • Bug fix
  • New feature
  • Breaking change
  • Documentation

Related Issues

FUND-2357

Testing

  • Tests pass
  • Manual testing completed

Checklist

  • Self-review completed
  • Documentation updated (if needed)

@ragaumon ragaumon added Bug Something isn't working Zaken API Related to Zaken (ZRC) component labels Feb 26, 2026
@ragaumon ragaumon force-pushed the fix/FUND-2357_overigedata_json branch from 9c0307a to 06048fa Compare March 12, 2026 11:25
@ragaumon ragaumon force-pushed the fix/FUND-2357_overigedata_json_stage2 branch from 568bb51 to 2bc727d Compare March 12, 2026 11:26
Base automatically changed from fix/FUND-2357_overigedata_json to main March 12, 2026 13:02
@ragaumon ragaumon force-pushed the fix/FUND-2357_overigedata_json_stage2 branch from 2bc727d to 1f92973 Compare March 12, 2026 14:09
Copilot AI review requested due to automatic review settings March 12, 2026 14:09
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR completes stage 2 of the overigeData column migration (FUND-2357), consolidating the dual-column setup (overigedata text + overigedata_jsonb jsonb) into a single overigedata column of type jsonb. The old text column and temporary backfill index are dropped, and the overigedata_jsonb column is renamed to overigedata.

Changes:

  • New EF Core migration (cutover_overigedata_to_jsonb) that drops the old text column, sets NOT NULL on the jsonb column, and renames it to overigedata.
  • Removes the OverigeDataJsonb property from the OverigeZaakObject entity, updating all mapping profiles, updaters, and tests to use the unified OverigeData property.
  • Uncomments the backfill UPDATE SQL in the first migration for fresh deployment scenarios.

Reviewed changes

Copilot reviewed 10 out of 11 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
OverigeZaakObject.cs Removes OverigeDataJsonb property; OverigeData now maps to jsonb column with [Required]
ZrcDbContext.cs Removes partial backfill index configuration
20260225150241_cutover_overigedata_to_jsonb.cs New migration: drops index, drops old column, sets NOT NULL, renames jsonb column
20260225150241_...Designer.cs Auto-generated migration designer snapshot
ZrcDbContextModelSnapshot.cs Updated model snapshot reflecting single OverigeData jsonb column
20260225120036_...cs Uncomments backfill UPDATE for fresh deployments
RequestToDomainProfile.cs (v1) Maps OverigeData instead of OverigeDataJsonb
DomainToResponseProfile.cs (v1) Reads from OverigeData instead of OverigeDataJsonb
RequestToDomainProfile.cs (v1/5) Maps OverigeData instead of OverigeDataJsonb
ZaakObjectUpdater.cs (v1/2) Updates OverigeData instead of OverigeDataJsonb
DomainToResponseProfileTests.cs Test updated to use OverigeData property

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@ragaumon ragaumon force-pushed the fix/FUND-2357_overigedata_json_stage2 branch from 1f92973 to b0fd860 Compare March 12, 2026 14:48
@ragaumon ragaumon force-pushed the fix/FUND-2357_overigedata_json_stage2 branch from b0fd860 to add3dac Compare March 24, 2026 16:23
@ragaumon ragaumon merged commit 673386a into main Mar 25, 2026
7 checks passed
@ragaumon ragaumon deleted the fix/FUND-2357_overigedata_json_stage2 branch March 25, 2026 08:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Bug Something isn't working Zaken API Related to Zaken (ZRC) component

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants