Skip to content

Commit

Permalink
feat: cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
AntonioErdeljac committed Mar 6, 2023
1 parent 27375b3 commit 81575cf
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 21 deletions.
2 changes: 1 addition & 1 deletion components/Layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import Sidebar from "@/components/layout/Sidebar"
const Layout: React.FC<{ children: React.ReactNode }> = ({ children }) => {
return (
<div className="h-screen bg-black">
<div className="container h-full mx-auto xl:px-30">
<div className="container h-full mx-auto xl:px-30 max-w-6xl">
<div className="grid grid-cols-4 h-full">
<Sidebar />
<div
Expand Down
20 changes: 0 additions & 20 deletions prisma/schema.prisma
Original file line number Diff line number Diff line change
Expand Up @@ -26,31 +26,11 @@ model User {
followingIds String[] @db.ObjectId
hasNotification Boolean?
accounts Account[]
posts Post[]
comments Comment[]
notifications Notification[]
}

model Account {
id String @id @default(auto()) @map("_id") @db.ObjectId
userId String @db.ObjectId
type String
provider String
providerAccountId String
refresh_token String? @db.String
access_token String? @db.String
expires_at Int?
token_type String?
scope String?
id_token String? @db.String
session_state String?
user User @relation(fields: [userId], references: [id], onDelete: Cascade)
@@unique([provider, providerAccountId])
}

model Post {
id String @id @default(auto()) @map("_id") @db.ObjectId
body String
Expand Down

0 comments on commit 81575cf

Please sign in to comment.