🗃️ Add database schema

This commit is contained in:
2022-05-01 20:58:27 +02:00
parent c733325cc9
commit e5f7948c46
2 changed files with 47 additions and 5 deletions

View File

@ -6,7 +6,7 @@ const prisma = new Prisma.PrismaClient();
const port = process.send.PORT || 3000;
app.get("/", async (_req, res) => {
const result = await prisma.test.findMany();
const result = await prisma.substitution.findMany();
res.send(result);
});