fix: resolve build, lint, and type errors - add paramName support to CRUD builder

This commit is contained in:
2026-04-25 18:36:52 +08:00
parent 1b92aecdb8
commit bc6fc493f6
6 changed files with 24 additions and 18 deletions
+1 -1
View File
@@ -22,7 +22,7 @@ export const gameComments = pgTable(
userId: text("user_id")
.notNull()
.references(() => user.id, { onDelete: "cascade" }),
parentId: text("parent_id").references((): any => gameComments.id, {
parentId: text("parent_id").references((): any => gameComments.id, { // eslint-disable-line @typescript-eslint/no-explicit-any
onDelete: "cascade",
}),
// Tiptap JSON document