You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
15 lines
364 B
15 lines
364 B
// 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
|
|
|