Skip to content

Commit

Permalink
fix: project name 修改为可重复字段
Browse files Browse the repository at this point in the history
  • Loading branch information
xinyao27 committed Sep 9, 2022
1 parent cc789da commit 4a2d1be
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions prisma/migrations/20220909082057_/migration.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
-- DropIndex
DROP INDEX "Project_name_key";
2 changes: 1 addition & 1 deletion prisma/schema.prisma
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ model EventUsersOnProjects {
model Project {
id Int @id @default(autoincrement())
apiKey String @unique
name String @unique
name String
type String
createdAt DateTime @default(now())
updatedAt DateTime @updatedAt
Expand Down

0 comments on commit 4a2d1be

Please sign in to comment.