From 3865d79e6b74753cfb9a64c31c668149485e8166 Mon Sep 17 00:00:00 2001 From: "DESKTOP-9FO96TP\\hehexd" <davidjakszta@outlook.de> Date: Fri, 12 May 2023 06:20:16 +0200 Subject: [PATCH] created schema --- prisma/schema.prisma | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/prisma/schema.prisma b/prisma/schema.prisma index d205f42..996e5ab 100644 --- a/prisma/schema.prisma +++ b/prisma/schema.prisma @@ -6,6 +6,16 @@ generator client { } datasource db { - provider = "postgresql" + provider = "sqlite" url = env("DATABASE_URL") } + +model Message{ + id Int @id @default(autoincrement()) + author String + gameId String + title String + content String + sentAt DateTime @default(now()) + updatedAt DateTime? @updatedAt +} \ No newline at end of file -- GitLab