[DOCS]: Add config parameter example for `migrate` function
Nobody has claimed this yet.
Assessment
- Difficulty
- 1/5
- Estimated time
- Under an hour
- Newbie friendliness
- 90/100
- Issue type
- Documentation
- Clarity
- Clearly specified
- Activity status
- Active
- Tech stack
- typescript
- Domain
- documentation
Research direction
Open src/content/docs/migrations.mdx and find the sections that show migrate(db). Update the examples to include a config object such as { migrationsFolder: './drizzle' }, and state that the parameter is required. Done means the relevant migration examples consistently show the required config usage.
Written by the indexing model from the issue text.
Description
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.
- Dominant language
- MDX
- Stars
- 241
- Forks
- 402
- Avg merge
- 4d 6h
- Merged PRs (30d)
- 4
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from drizzle-team/drizzle-orm-docs
-
Difficulty 1/5 Under an hour Newbie friendliness 90/100
drizzle-team/drizzle-orm-docs#721 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
drizzle-team/drizzle-orm-docs#716 · 1 comment ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 85/100
drizzle-team/drizzle-orm-docs#705 · 2 comments ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
drizzle-team/drizzle-orm-docs#681 · 2 reactions ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
drizzle-team/drizzle-orm-docs#676 ·
All issues in drizzle-team/drizzle-orm-docs
Similar issues
-
user-reported
Difficulty 2/5 1-3 hours Newbie friendliness 85/100
Kong/developer.konghq.com#7316 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
HarperFast/skills#96 ·
-
enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
infinispan/infinispan#18150 ·
-
Difficulty 1/5 Under an hour Newbie friendliness 78/100
fullcalendar/fullcalendar#8106 ·