mirror of
https://github.com/aljazceru/landscape-template.git
synced 2026-01-31 12:14:30 +01:00
fix: remove unique username constraint
removed the unique constraint for user name from the database schema Fixes #46
This commit is contained in:
@@ -0,0 +1,2 @@
|
||||
-- DropIndex
|
||||
DROP INDEX "User_name_key";
|
||||
@@ -41,7 +41,7 @@ model Vote {
|
||||
model User {
|
||||
id Int @id @default(autoincrement())
|
||||
pubKey String? @unique
|
||||
name String? @unique
|
||||
name String?
|
||||
avatar String?
|
||||
role String @default("user")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user