A
This commit is contained in:
parent
aff58d8c08
commit
6d4e324a93
7 changed files with 1959 additions and 0 deletions
22
assignment-db-service/prisma/schema.prisma
Normal file
22
assignment-db-service/prisma/schema.prisma
Normal file
|
|
@ -0,0 +1,22 @@
|
|||
generator client {
|
||||
provider = "prisma-client-js"
|
||||
binaryTargets = ["native", "windows"]
|
||||
}
|
||||
|
||||
datasource db {
|
||||
provider = "postgresql"
|
||||
url = env("DATABASE_URL")
|
||||
}
|
||||
|
||||
model Assignment {
|
||||
AssignmentID Int @id @default(autoincrement())
|
||||
CampID Int?
|
||||
ProgramID Int?
|
||||
StudentName String
|
||||
SnakeGameId String?
|
||||
OriginalFile String?
|
||||
EditableFile String?
|
||||
AssignmentUrl String?
|
||||
PasswordHash String // store bcrypt hash
|
||||
InstructorID Int?
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue