Skip to content

Commit 1296aee

Browse files
committed
fix id
1 parent 586dc66 commit 1296aee

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

packages/shared-db/src/schema/moderation.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,7 @@ export const insertModerationHistorySchema = createInsertSchema(
8888
export const selectModerationHistorySchema = createSelectSchema(
8989
moderationHistory,
9090
{
91+
id: z.coerce.number(),
9192
createdAt: z.date(),
9293
updatedAt: z.date().nullable(),
9394
moderatorAccountIdType: moderatorAccountIdTypeSchema,

0 commit comments

Comments
 (0)