Toggle navigation
Toggle navigation
This project
Loading...
Sign in
2020-1-capstone-design1
/
Triz_Project1
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
1
Merge Requests
0
Wiki
Snippets
Network
Create a new issue
Builds
Commits
Issue Boards
Authored by
sdy
2020-06-03 23:14:27 +0900
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
00b344ee44420fe56987daa122572e01ac63b4a5
00b344ee
1 parent
06f5d222
add @unique in Category name field
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
back/prisma/schema.prisma
back/prisma/schema.prisma
View file @
00b344e
...
...
@@ -35,7 +35,7 @@ model Room {
model Category {
id Int @default(autoincrement()) @id
name String
? @default("")
name String
@default("") @unique
room Room @relation(fields: [roomId], references: [id])
roomId Int
messages Message[]
...
...
Please
register
or
login
to post a comment