Skip to content

#6617 - Remove the impairments before update column - #6620

Merged
sh16011993 merged 3 commits into
mainfrom
feature/#6617-remove-student-disability-profile-impairments-before-update-column
Sep 17, 2026
Merged

sh16011993 merged 3 commits into
mainfrom
feature/#6617-remove-student-disability-profile-impairments-before-update-column

Conversation

@sh16011993

@sh16011993 sh16011993 commented Sep 17, 2026

Copy link
Copy Markdown
Collaborator

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

  • Column impairments_before_update was removed from the student_disability_profile_disabilities table.

Copilot AI lite review requested due to automatic review settings September 17, 2026 20:39
@sh16011993 sh16011993 self-assigned this Sep 17, 2026
@sh16011993 sh16011993 changed the title #6415 - Remove the impairments before update column #6617 - Remove the impairments before update column Sep 17, 2026
@sh16011993 sh16011993 added the DB DB migration involved label Sep 17, 2026

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

Dropping the only rollback backup prevents the preceding migration from restoring original impairment arrays.

Get a fresh assessment by requesting another Copilot review.

Pull request overview

Removes the temporary disability impairment backup column and adds a TypeORM migration with rollback schema support.

Changes:

  • Drops impairments_before_update.
  • Recreates the column during rollback.
  • Registers the migration.
File summaries
File Description
Delete-impairments-before-update.sql Drops the backup column.
Rollback-delete-impairments-before-update.sql Recreates the column and comment.
1789675751784-DeleteImpairmentsBeforeUpdateCol.ts Executes the migration and rollback SQL.
Review details
  • Files reviewed: 3/3 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.

@sonarqubecloud

Copy link
Copy Markdown

@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 )

@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 516080c Sep 17, 2026
22 checks passed
@sh16011993
sh16011993 deleted the feature/#6617-remove-student-disability-profile-impairments-before-update-column branch September 17, 2026 22:50
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