Skip to content

Commit

Permalink
typo fix
Browse files Browse the repository at this point in the history
Co-authored-by: Armand Philippot <git@armand.philippot.eu>
  • Loading branch information
sarah11918 and ArmandPhilippot authored Oct 7, 2024
1 parent 2621c85 commit b948f51
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/content/docs/en/guides/astro-db.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ In development, Astro will use your DB config to generate local types according
You will not have access to production data during development unless you [seed from your remote database](#seed-from-your-remote-database). This protects your data while allowing you to test and develop with type-safety using simulated data.
To seed development data for testing and debugging into your Astro project, create a `db/seed.ts` file. Import both the `db` object and any configured table from `astro:db`. Use the `db.insert()` function to provide an array of table row data objects. This development data should match the form of your database schema and prodution data.
To seed development data for testing and debugging into your Astro project, create a `db/seed.ts` file. Import both the `db` object and any configured table from `astro:db`. Use the `db.insert()` function to provide an array of table row data objects. This development data should match the form of your database schema and production data.
The following example defines two rows of development data for a `Comment` table:
Expand Down

0 comments on commit b948f51

Please sign in to comment.