1
0
mirror of synced 2025-12-25 02:00:48 -05:00
Files
blitz/examples/cypress/db/seeds.ts
2022-02-23 10:09:58 +01:00

16 lines
364 B
TypeScript

// import db from "./index"
/*
* This seed function is executed when you run `blitz db seed`.
*
* Probably you want to use a library like https://chancejs.com
* to easily generate realistic data.
*/
const seed = async () => {
// for (let i = 0; i < 5; i++) {
// await db.project.create({ data: { name: "Project " + i } })
// }
}
export default seed