Skip to content

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

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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