Skip to content

[DOCS]: Add config parameter example for migrate function #652

@xqm32

Description

@xqm32

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions