We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
json
unknown[]
drizzle-orm
0.33.0
drizzle-kit
0.24.0
export const messages = pgTable('messages', { id: uuid('id').defaultRandom().primaryKey(), content: text('content'), type: text('type', { enum: ['user', 'assistant', 'tool'] }), dialogId: uuid('dialog_id').references(() => dialogs.id, { onDelete: 'cascade' }), tool_calls: json('tool_calls').$type<ToolCall>().array(), tool_call_id: text('tool_call_id'), });
The return type of column type json shouldn't be of type unknown
unknown
No response
The text was updated successfully, but these errors were encountered:
No branches or pull requests
What version of
drizzle-orm
are you using?0.33.0
What version of
drizzle-kit
are you using?0.24.0
Describe the Bug
Expected behavior
The return type of column type
json
shouldn't be of typeunknown
Environment & setup
No response
The text was updated successfully, but these errors were encountered: