fix: address application tracker review findings

This commit is contained in:
Amruth Pillai
2026-07-05 23:38:39 +02:00
parent b1d95e61de
commit c721fe5cbc
26 changed files with 4290 additions and 8107 deletions
@@ -31,4 +31,4 @@ CREATE TABLE "application" (
CREATE INDEX "application_user_id_index" ON "application" ("user_id");--> statement-breakpoint
CREATE INDEX "application_user_id_updated_at_index" ON "application" ("user_id","updated_at" DESC NULLS LAST);--> statement-breakpoint
ALTER TABLE "application" ADD CONSTRAINT "application_user_id_user_id_fkey" FOREIGN KEY ("user_id") REFERENCES "user"("id") ON DELETE CASCADE;--> statement-breakpoint
ALTER TABLE "application" ADD CONSTRAINT "application_resume_id_resume_id_fkey" FOREIGN KEY ("resume_id") REFERENCES "resume"("id") ON DELETE SET NULL;
ALTER TABLE "application" ADD CONSTRAINT "application_resume_id_resume_id_fkey" FOREIGN KEY ("resume_id") REFERENCES "resume"("id") ON DELETE SET NULL;