Several docs currently show migrate(db) without the required config parameter, which can confuse developers. As of now, the migrate function needs a config object, for example:
await migrate(db, { migrationsFolder: './drizzle' })
The option is missing in main docs such as:
Please update the relevant sections to include the config usage and make it clear this parameter is necessary.
Submitted with the assistance of AI.
Several docs currently show
migrate(db)without the required config parameter, which can confuse developers. As of now, themigratefunction needs a config object, for example:The option is missing in main docs such as:
src/content/docs/migrations.mdxPlease update the relevant sections to include the config usage and make it clear this parameter is necessary.
Submitted with the assistance of AI.