{"id":"88424dfe0113e858","repo":"drizzle-team/drizzle-orm","slug":"the-drizzle-seed-package-currently-supports-only-p","errorCode":null,"errorMessage":"The drizzle-seed package currently supports only PostgreSQL, MySQL, and SQLite databases. Please ensure your database is one of these supported types","messagePattern":"The drizzle-seed package currently supports only PostgreSQL, MySQL, and SQLite databases\\. Please ensure your database is one of these supported types","errorType":"exception","errorClass":"Error","httpStatus":null,"severity":"error","filePath":"drizzle-seed/src/index.ts","lineNumber":393,"sourceCode":"\t\t\t| Relations\n\t\t\t| any;\n\t},\n\toptions: { count?: number; seed?: number; version?: string } = {},\n\trefinements?: RefinementsType,\n) => {\n\tlet version: number | undefined;\n\tif (options?.version !== undefined) {\n\t\tversion = Number(options?.version);\n\t}\n\n\tif (is(db, PgDatabase<any, any>)) {\n\t\tawait seedPostgres(db, schema, { ...options, version }, refinements);\n\t} else if (is(db, MySqlDatabase<any, any>)) {\n\t\tawait seedMySql(db, schema, { ...options, version }, refinements);\n\t} else if (is(db, BaseSQLiteDatabase<any, any>)) {\n\t\tawait seedSqlite(db, schema, { ...options, version }, refinements);\n\t} else {\n\t\tthrow new Error(\n\t\t\t'The drizzle-seed package currently supports only PostgreSQL, MySQL, and SQLite databases. Please ensure your database is one of these supported types',\n\t\t);\n\t}\n\n\treturn;\n};\n\n/**\n * deletes all data from specified tables\n *\n * @param db - database you would like to reset.\n * @param schema - object that contains all your database tables you would like to delete data from.\n *\n * `If db is a PgDatabase object`, we will execute sql query and delete data from your tables the following way:\n * ```sql\n * truncate tableName1, tableName2, ... cascade;\n * ```\n *","sourceCodeStart":375,"sourceCodeEnd":411,"githubUrl":"https://github.com/drizzle-team/drizzle-orm/blob/b7862528fd8fc39bc2653a6c18dad7c1f4e68d10/drizzle-seed/src/index.ts#L375-L411","documentation":"Error \"The drizzle-seed package currently supports only PostgreSQL, MySQL, and SQLite databases. Please ensure your database is one of these supported types\" thrown in drizzle-team/drizzle-orm.","triggerScenarios":"Running drizzle-seed against a database/dialect other than PostgreSQL, MySQL, or SQLite.","commonSituations":"Seeding SingleStore, Gel, or other dialects; passing an unsupported db instance to seed().","solutions":["Point drizzle-seed at a PostgreSQL, MySQL, or SQLite database; other dialects are not supported by the seeding package."],"exampleFix":null,"handlingStrategy":null,"validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"analyzedSha":"b7862528fd8fc39bc2653a6c18dad7c1f4e68d10","analyzedAt":"2026-08-03T18:11:14.318Z","schemaVersion":2}