mirror of
https://github.com/Floriansylvain/SnippetsManager.git
synced 2026-08-19 11:43:15 +02:00
Made name field on Language Unique
This commit is contained in:
@@ -45,7 +45,7 @@ model Category {
|
||||
|
||||
model Language {
|
||||
id Int @id @default(autoincrement())
|
||||
name String
|
||||
name String @unique
|
||||
Snippet Snippet[]
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user