v5.2.0: undo/redo, version history, embedded AI assistant, mobile builder & more (#3205)

This commit is contained in:
Amruth Pillai
2026-07-04 14:57:25 +02:00
committed by GitHub
parent 09bc6ec521
commit 57e9c8c487
181 changed files with 46794 additions and 11348 deletions
@@ -0,0 +1,13 @@
CREATE TABLE "resume_statistics_daily" (
"id" text PRIMARY KEY,
"date" date NOT NULL,
"views" integer DEFAULT 0 NOT NULL,
"downloads" integer DEFAULT 0 NOT NULL,
"resume_id" text NOT NULL,
"created_at" timestamp with time zone DEFAULT now() NOT NULL,
"updated_at" timestamp with time zone DEFAULT now() NOT NULL,
CONSTRAINT "resume_statistics_daily_resume_id_date_unique" UNIQUE("resume_id","date")
);
--> statement-breakpoint
CREATE INDEX "resume_statistics_daily_resume_id_date_index" ON "resume_statistics_daily" ("resume_id","date" DESC NULLS LAST);--> statement-breakpoint
ALTER TABLE "resume_statistics_daily" ADD CONSTRAINT "resume_statistics_daily_resume_id_resume_id_fkey" FOREIGN KEY ("resume_id") REFERENCES "resume"("id") ON DELETE CASCADE;
File diff suppressed because it is too large Load Diff
@@ -0,0 +1,12 @@
CREATE TABLE "resume_version" (
"id" text PRIMARY KEY,
"resume_id" text NOT NULL,
"user_id" text NOT NULL,
"data" jsonb NOT NULL,
"label" text NOT NULL,
"created_at" timestamp with time zone DEFAULT now() NOT NULL
);
--> statement-breakpoint
CREATE INDEX "resume_version_resume_id_created_at_index" ON "resume_version" ("resume_id","created_at" DESC NULLS LAST);--> statement-breakpoint
ALTER TABLE "resume_version" ADD CONSTRAINT "resume_version_resume_id_resume_id_fkey" FOREIGN KEY ("resume_id") REFERENCES "resume"("id") ON DELETE CASCADE;--> statement-breakpoint
ALTER TABLE "resume_version" ADD CONSTRAINT "resume_version_user_id_user_id_fkey" FOREIGN KEY ("user_id") REFERENCES "user"("id") ON DELETE CASCADE;
File diff suppressed because it is too large Load Diff
@@ -0,0 +1 @@
CREATE UNIQUE INDEX "agent_threads_active_in_place_unique" ON "agent_threads" ("user_id","working_resume_id","source_resume_id") WHERE "status" = 'active' and "deleted_at" is null;
File diff suppressed because it is too large Load Diff