fix: update resume ID type from uuid to text and use generateId for ID generation

This commit is contained in:
Amruth Pillai
2026-05-07 16:49:44 +02:00
parent 92a3916e76
commit 4ae3e1a230
2 changed files with 3 additions and 2 deletions
+1 -1
View File
@@ -182,7 +182,7 @@ The database schema is defined using Drizzle ORM in `src/integrations/drizzle/sc
import { pgTable, text, timestamp, uuid } from "drizzle-orm/pg-core";
export const resume = pgTable("resume", {
id: uuid("id").primaryKey().defaultRandom(),
id: text("id").primaryKey().defaultRandom(),
title: text("title").notNull(),
slug: text("slug").notNull(),
// ... more fields