Skip to content

Commit

Permalink
docs: show seed instructions
Browse files Browse the repository at this point in the history
  • Loading branch information
atinux authored Oct 14, 2024
1 parent d95c2fe commit cb2eb4e
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions docs/content/1.docs/3.recipes/2.drizzle.md
Original file line number Diff line number Diff line change
Expand Up @@ -156,9 +156,7 @@ We also export the `sql`, `eq`, `and`, and `or` functions from `drizzle-orm` to
### Seed the database (Optional)
::collapsible{name="instructions"}
Optionally, you can add a server task to populate your database with initial data. This uses [Nitro Tasks](https://nitro.unjs.io/guide/tasks), which is currently an experimental feature.
You can add a server task to populate your database with initial data. This uses [Nitro Tasks](https://nitro.unjs.io/guide/tasks), which is currently an experimental feature.
1. Update your nuxt.config.js:
Expand Down Expand Up @@ -206,8 +204,6 @@ export default defineTask({

To run the seed task, start your dev server and open the Nuxt DevTools. Go to _Tasks_ and you will see the `db:seed` task ready to run. This will add the seed data to your database and give you the first users to work with.

::

## Usage

### Select
Expand Down

0 comments on commit cb2eb4e

Please sign in to comment.