baseline migration added - #647
Conversation
|
@divyanshipathak-swe is attempting to deploy a commit to the Prashantkumar Khatri's projects Team on Vercel. A member of the Team first needs to authorize it. |
|
Hi @traitor09, Thanks for opening this pull request. This PR has been automatically classified based on the files modified. Applied Labels
Primary Review Area
Reviewer@Harxhit has been identified as the primary reviewer for this pull request. If you have any questions regarding the affected area or implementation details, feel free to reach out to the assigned reviewer. Thank you for your contribution! |
CI — Checks FailedBackend — FAIL
Mobile — SKIP
Web — SKIP
Last updated: |
Signed-off-by: Divyanshi Pathak <divyanshipathakqc@mpgi.edu.in>
|
I noticed the backend typecheck was failing due to an unrelated issue in The
This doesn't change the migration behavior The tests are currently failing because they still reference the old migration path. Please review. |
Linting check fails here. @traitor09
|
|
Thanks @ShantKhatri That's what I was referring to when I mentioned that the old migration path was still being referenced. I agree that the first failure is in the lint step which references: which is the migration removed by this PR. The backend test step also references the same deleted migration path. The CI change-detection script Since updating that script would be a CI change outside the original migration task, I didn't want to expand the scope of this PR without checking first. Would you prefer that I include that CI fix in this PR as well? |
Harxhit
left a comment
There was a problem hiding this comment.
Fixed the merge conflicts. Also added the proof.
|
Congratulations @traitor09 on getting PR #647 merged! Thank you for your contribution to the project. To receive the appropriate GSSoC labels and recognition, please mention @Harxhit in the #get-labels channel on our Discord server and share your merged PR link. |


Summary
Closes #646
Type of Change
What Changed
The baseline migration can be applied cleanly on a fresh database.
Incorporated all changes directly into CREATE TABLE definitions to eliminate migration dependencies.
Contains the final set of tables, enums, indexes, unique constraints, and foreign key relationships without redundant or obsolete objects.
How to Test
.envvariablesnpm run db:migratenpm run db:seednpm run dev:backendChecklist
npm run lintpasses).npm run typecheck --workspaces --if-present).npm run test --workspaces --if-present).console.logor debug statements left in the code.Screenshots
Working changes..
Additional Context
This PR replaces the previous migration history with a consolidated baseline migration intended for fresh database setups. Existing databases that have already applied the previous migrations should retain their migration history and should not reapply the new baseline migration.