Skip to content

#6516 - Remove offering column added for rollback purpose - #6619

Merged
sh16011993 merged 5 commits into
mainfrom
feature/#6516-remove-offering-column-added-for-rollback-purpose
Sep 17, 2026
Merged

sh16011993 merged 5 commits into
mainfrom
feature/#6516-remove-offering-column-added-for-rollback-purpose

Conversation

@sh16011993

@sh16011993 sh16011993 commented Sep 17, 2026

Copy link
Copy Markdown
Collaborator

As a part of this PR, the following was completed:

  • Column study_breaks_before_update was removed from the education_programs_offerings and the education_programs_offerings_history table.

@sh16011993 sh16011993 self-assigned this Sep 17, 2026
@sh16011993 sh16011993 added the DB DB migration involved label Sep 17, 2026
Copilot AI lite review requested due to automatic review settings September 17, 2026 21:02

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

🟡 Changes recommended

The no-op down migration breaks rollback of the preceding migration, which still references these columns.

Get a fresh assessment by requesting another Copilot review.

Pull request overview

Adds a migration to remove rollback-only columns from offering tables.

Changes:

  • Drops study_breaks_before_update from both current and history tables.
  • Registers the migration with TypeORM.
File summaries
File Description
Delete-study-breaks-before-update.sql Removes both columns.
DeleteStudyBreaksBeforeUpdateCol.ts Executes the migration.
Review details
  • Files reviewed: 2/2 changed files
  • Comments generated: 1
  • Review effort level: Lite

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment on lines +14 to +16
public async down(): Promise<void> {
// No down migration needed here.
}
@github-actions

Copy link
Copy Markdown

Backend Unit Tests Coverage Report

Totals Coverage
Statements: 20.32% ( 5052 / 24866 )
Methods: 9.99% ( 301 / 3012 )
Lines: 24.61% ( 4270 / 17353 )
Branches: 10.69% ( 481 / 4501 )

@sonarqubecloud

Copy link
Copy Markdown

@github-actions

Copy link
Copy Markdown

E2E Workflow Workers Coverage Report

Totals Coverage
Statements: 48.59% ( 2983 / 6139 )
Methods: 38.57% ( 312 / 809 )
Lines: 55.36% ( 2251 / 4066 )
Branches: 33.23% ( 420 / 1264 )

@github-actions

Copy link
Copy Markdown

E2E Queue Consumers Coverage Report

Totals Coverage
Statements: 81.22% ( 10003 / 12316 )
Methods: 81.22% ( 1306 / 1608 )
Lines: 84.58% ( 7456 / 8815 )
Branches: 65.56% ( 1241 / 1893 )

@github-actions

Copy link
Copy Markdown

E2E SIMS API Coverage Report

Totals Coverage
Statements: 70.9% ( 15417 / 21744 )
Methods: 68.71% ( 1836 / 2672 )
Lines: 73.85% ( 10919 / 14785 )
Branches: 62.09% ( 2662 / 4287 )

@dheepak-aot dheepak-aot left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Looks good 👍

@weskubo-cgi weskubo-cgi left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Thanks for taking care of this.

@sh16011993
sh16011993 added this pull request to the merge queue Sep 17, 2026
Merged via the queue into main with commit f645966 Sep 17, 2026
22 checks passed
@sh16011993
sh16011993 deleted the feature/#6516-remove-offering-column-added-for-rollback-purpose branch September 17, 2026 22:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

DB DB migration involved

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants