Skip to content

Commit

Permalink
Fix schema and remove posts
Browse files Browse the repository at this point in the history
  • Loading branch information
HansGabriel committed Dec 9, 2023
1 parent 4d6c79e commit 6ac6495
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 43 deletions.
41 changes: 0 additions & 41 deletions packages/api/src/router/post.ts

This file was deleted.

4 changes: 2 additions & 2 deletions packages/db/prisma/schema.prisma
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ model UserOnFavoriteTest {
createdAt DateTime @default(now()) @map("user_on_favorite_test_created_at")
updatedAt DateTime @updatedAt @map("user_on_favorite_test_updated_at")
@@id([id, userId, testId])
@@id([userId, testId])
@@map("user_on_favorite_test")
}

Expand Down Expand Up @@ -193,7 +193,7 @@ model TestOnCollection {
createdAt DateTime @default(now()) @map("test_on_collection_created_at")
updatedAt DateTime @updatedAt @map("test_on_collection_updated_at")
@@id([id, testId, collectionId])
@@id([testId, collectionId])
@@map("test_on_collection")
}

Expand Down

0 comments on commit 6ac6495

Please sign in to comment.