diff --git a/prisma/schema.prisma b/prisma/schema.prisma index 022497f..63e7b4f 100644 --- a/prisma/schema.prisma +++ b/prisma/schema.prisma @@ -7,21 +7,6 @@ datasource db { url = env("DATABASE_URL") } -model homework { - class String @db.VarChar(45) - date String @db.VarChar(10) - data Json - createdAt DateTime @default(now()) - updatedAt DateTime @default(now()) - - @@id([date, class]) -} - -model config { - class String @id @db.VarChar(45) - value Json? -} - model KVStore { namespace String @db.Char(36) key String diff --git a/routes/index.js b/routes/index.js index 3ee0a40..0061319 100644 --- a/routes/index.js +++ b/routes/index.js @@ -3,7 +3,7 @@ var router = Router(); /* GET home page. */ router.get("/", function (req, res, next) { - res.render("index", { title: "Express" }); + res.render("index"); }); export default router;