Skip to content

Add benchmark and benchmark_flow tables#1916

Open
ravikiranvm wants to merge 12 commits intomainfrom
ops-3547
Open

Add benchmark and benchmark_flow tables#1916
ravikiranvm wants to merge 12 commits intomainfrom
ops-3547

Conversation

@ravikiranvm
Copy link
Contributor

Fixes OPS-3547

Additional Notes

@linear
Copy link

linear bot commented Feb 5, 2026

@ravikiranvm ravikiranvm marked this pull request as ready for review February 5, 2026 08:43
Copilot AI review requested due to automatic review settings February 5, 2026 08:43
Copy link
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 introduces database schema changes to support assessments in the system. It adds two new database tables with their corresponding TypeORM entities and repositories.

Changes:

  • Added database migration to create assessment and assessment_flow tables with appropriate indexes and foreign key constraints
  • Created TypeORM entity definitions and repositories for both new tables
  • Registered the new entities in the database connection configuration

Reviewed changes

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

Show a summary per file
File Description
packages/server/api/src/app/database/postgres-connection.ts Imported and registered the new migration in the migrations array
packages/server/api/src/app/database/migrations/1764600000000-AddAssessmentTable.ts Defined the database migration that creates the assessment and assessment_flow tables with indexes and constraints
packages/server/api/src/app/database/database-connection.ts Imported and registered the new Assessment and AssessmentFlow entities
packages/server/api/src/app/assessment/assessment.entity.ts Defined the AssessmentEntity schema with columns, relations, and indexes
packages/server/api/src/app/assessment/assessment.repo.ts Created repository factory for AssessmentEntity
packages/server/api/src/app/assessment/assessment-flow.entity.ts Defined the AssessmentFlowEntity schema with columns, relations, and indexes
packages/server/api/src/app/assessment/assessment-flow.repo.ts Created repository factory for AssessmentFlowEntity

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

@ravikiranvm ravikiranvm changed the title Add assessment and assessment_flow tables Add benchmark and benchmark_flow tables Feb 5, 2026
@cezudas cezudas self-requested a review February 5, 2026 12:39
@cezudas cezudas self-requested a review February 6, 2026 08:36
@sonarqubecloud
Copy link

sonarqubecloud bot commented Feb 6, 2026

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.

3 participants