Skip to content

Commit

Permalink
Database Changes
Browse files Browse the repository at this point in the history
  • Loading branch information
adityakumar48 committed Jun 21, 2024
1 parent d488cef commit 18988a1
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions prisma/schema.prisma
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ generator client {
}

datasource db {
provider = "postgresql"
provider = "cockroachdb"
url = env("DATABASE_URL")
relationMode = "prisma"
}
Expand All @@ -24,12 +24,12 @@ model Account {
type String
provider String
providerAccountId String
refresh_token String? @db.Text
access_token String? @db.Text
refresh_token String?
access_token String?
expires_at Int?
token_type String?
scope String?
id_token String? @db.Text
id_token String?
session_state String?
user User @relation(fields: [userId], references: [id], onDelete: Cascade)
Expand Down Expand Up @@ -70,7 +70,7 @@ model VerificationToken {
}

model Task {
id Int @id @default(autoincrement())
id Int @id @default(sequence())
Task String
Status TaskStatus @default(TASK)
Time String @default("00:00:00")
Expand All @@ -97,7 +97,7 @@ model Contact {
model Notes {
id String @id @default(cuid())
Title String
Content String @db.Text
Content String
createdAt DateTime @default(now())
updatedAt DateTime @updatedAt
userId String
Expand Down

0 comments on commit 18988a1

Please sign in to comment.