This commit is contained in:
Tommy Parnell
2022-04-07 10:18:09 -04:00
parent 5645408d75
commit 6e18c2c7ef
8 changed files with 59 additions and 7 deletions

View File

@@ -2,7 +2,7 @@ import { PrismaClient } from "@prisma/client";
const db = new PrismaClient();
async function seed() {
return db.note.create({ data: { name: "Note from the databae" }});
return db.note.create({ data: { name: "Note from the databae", content: " I am a new note :) " }});
}
seed();