mirror of
https://github.com/AmruthPillai/Reactive-Resume.git
synced 2026-07-25 01:15:26 +10:00
1b266ba7ac
* Implement Resume Analysis * 📦 v5.0.17 - https://docs.rxresu.me/changelog
10 lines
538 B
SQL
10 lines
538 B
SQL
CREATE TABLE "resume_analysis" (
|
|
"id" uuid PRIMARY KEY,
|
|
"analysis" jsonb NOT NULL,
|
|
"resume_id" uuid NOT NULL UNIQUE,
|
|
"created_at" timestamp with time zone DEFAULT now() NOT NULL,
|
|
"updated_at" timestamp with time zone DEFAULT now() NOT NULL
|
|
);
|
|
--> statement-breakpoint
|
|
CREATE INDEX "resume_analysis_resume_id_index" ON "resume_analysis" ("resume_id");--> statement-breakpoint
|
|
ALTER TABLE "resume_analysis" ADD CONSTRAINT "resume_analysis_resume_id_resume_id_fkey" FOREIGN KEY ("resume_id") REFERENCES "resume"("id") ON DELETE CASCADE; |