MCPcopy Create free account
hub / github.com/sqlchat/sqlchat / main

Function main

prisma/seed.ts:43–52  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

41];
42
43async function main() {
44 console.log(`Start seeding ...`);
45 for (const c of chatData) {
46 const chat = await prisma.chat.create({
47 data: c,
48 });
49 console.log(`Created chat with id: ${chat.id}`);
50 }
51 console.log(`Seeding finished.`);
52}
53
54main()
55 .then(async () => {

Callers 1

seed.tsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected