mirror of
https://github.com/AmruthPillai/Reactive-Resume.git
synced 2026-07-14 14:57:00 +10:00
fix: update resume ID type from uuid to text and use generateId for ID generation
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user