ITADN

[BUG]:bug(drizzle-seed): reset() function fails when using drizzle-orm@beta and drizzle-kit@beta

#5826Openlehuylxag1995 创建于 2026-05-29
bug
L
lehuylxag1995commented
### Report hasn't been filed before. - [x] I have verified that the bug I'm about to report hasn't been filed before. ### What version of `drizzle-orm` are you using? ^1.0.0-beta.22 ### What version of `drizzle-kit` are you using? ^1.0.0-beta.22 ### Other packages "drizzle-seed": "^0.3.1" ### Describe the Bug ### Describe the bug When using the new `drizzle-seed` package in combination with the beta versions of `drizzle-orm` and `drizzle-kit`, calling the `reset()` function throws an error. It seems like there is a breaking change or incompatibility between the stable seed package and the beta core packages. ### Environment & Versions - **OS:**MacOS- **Node.js:** v24.15.0 - **drizzle-orm:** ^1.0.0-beta.22 - **drizzle-kit:** ^1.0.0-beta.22 - **drizzle-seed:** ^0.3.1 - **Database:** PostgreSQL ### Steps to reproduce 1. Setup a project with `drizzle-orm@beta` and `drizzle-kit@beta`. 2. Define a simple schema. 3. Try to run a seeding script that clears the database using `await reset(db, schema)`. 4. Run the script. ### Minimal Reproducible Code ```typescript import { drizzle } from 'drizzle-orm/...'; import { reset } from 'drizzle-seed'; import * as schema from './schema'; const db = drizzle(...); async function main() { // This line triggers the error await reset(db, schema); } main(); ================================================================================ SyntaxError: Export named 'createTableRelationsHelpers' not found in module '.../node_modules/drizzle-orm/index.js'.
0 条评论