Skip to main content
A column declared without an explicit database name (integer()) keeps its JS property key until the Drizzle dialect’s casing cache resolves the real one, and that lookup returned nothing — so the snapshot trigger and rollback SQL cannot name the column. Fix — name the column explicitly, e.g. integer('item_id'), or pass a casing option to drizzle(..., { casing: 'snake_case' }) so the dialect can resolve it.

Related topics

Error reference