Skip to content

Commit

Permalink
fix: InferModel notice drizzle-orm
Browse files Browse the repository at this point in the history
  • Loading branch information
justserdar committed Mar 12, 2024
1 parent 7b77955 commit cd7faef
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions server/database/schema.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,6 @@ export const tickets = sqliteTable('messages', {
description: text('description').notNull()
})

// InferModel from drizzle-orm deprecated, replace asap for Production!
export type Ticket = InferModel<typeof tickets>;
export type InsertTicket = InferModel<typeof tickets, "insert">;

0 comments on commit cd7faef

Please sign in to comment.