Property '[IsDrizzleTable]' is missing in type

Hello!

I've just updated to drizzle-orm@0.29.1 and I can't use drizzle-zod anymore (@0.5.1).

This is my code:
export const GroupCategoriesInsertSchema = createInsertSchema(
  groupCategories,
)


Gives me the following error:
Argument of type 'PgTableWithColumns<{ name: "group_categories"; schema: undefined; columns: { id: PgColumn<{ name: string; tableName: "group_categories"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; enumValues: [...]; baseColumn: never; }, {}, {}>; ... 6 more ...; ...' is not assignable to parameter of type 'Table<TableConfig<Column<any, object, object>>>'.


What can I do?
Was this page helpful?