following changes made by Commita6f7ef8> feat(db-*): export types from main export (#11914) In 3.0, we made the decision to export all types from the main package export (e.g. `payload/types` => `payload`). This improves type discoverability by IDEs and simplifies importing types. > This PR does the same for our db adapters, which still have a separate `/types` subpath export. While those are kept for backwards-compatibility, we can remove them in 4.0.a6f7ef837athe script responsible for generating file generated-schema.ts was not updated to reflect this change in export paths drizzle/src/utilities/createSchemaGenerator.ts CURRENT ```typescript const finalDeclaration = ` declare module '${this.packageName}/types' { export interface GeneratedDatabaseSchema { schema: DatabaseSchema } } ``` AFTER THIS PULL REQUEST ```typescript const finalDeclaration = ` declare module '${this.packageName}' { export interface GeneratedDatabaseSchema { schema: DatabaseSchema } } ``` this pull request fixes the generation of generated-schema.ts avoiding errors while building for production with command ```bash npm run build ``` 
Payload Drizzle Adapter
The Drizzle package is used by db-postgres and db-sqlite for shared functionality of SQL databases. It is not meant to be used directly in Payload projects.