Skip to content

Conversation

@Sarah-Zhang1
Copy link
Contributor

Create new interview schema

Description

  • create review round schema with interview type and interview difficulty (both represented in strings)
  • connect review to review round with a 1 to many relation

Motivation and Context

want to represent interview ratings as rounds since interviews can have mulitple rounds

Closes #333

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • Database migration
    • Ran pnpm db:generate and verified generated SQL migration files in packages/db/drizzle

Checklist:

  • My code follows the code style of this project.
  • I have moved the ticket to "In Review"
  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.
  • I have added tests to cover my changes.
  • All new and existing tests passed.

@vercel
Copy link

vercel bot commented Jan 26, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Review Updated (UTC)
cooper Ready Ready Preview, Comment Jan 26, 2026 2:03am
2 Skipped Deployments
Project Deployment Review Updated (UTC)
cooper-auth Skipped Skipped Jan 26, 2026 2:03am
cooper-docs Skipped Skipped Jan 26, 2026 2:03am

Request Review

profileId: profile?.id,
companyId: companyId,
...values,
interviewRating: 1,
Copy link
Collaborator

Choose a reason for hiding this comment

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

if you delete this, then it gives an error when trying to submit a new review. i know your next ticket will be implementing the frontend and making this work, but especially since we're tabling next week i think we want to keep this in to make sure people can still submit reviews in the meantime

@Tiffybin
Copy link
Contributor

lgtm

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.

(Develop) Create new interview schema

4 participants