Skip to content
Snippets Groups Projects
Commit 3865d79e authored by DESKTOP-9FO96TP\hehexd's avatar DESKTOP-9FO96TP\hehexd
Browse files

created schema

parent 5d695c64
No related branches found
No related tags found
1 merge request!3Implement message schema
......@@ -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
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment