Skip to content

Commit 604c496

Browse files
authored
Merge pull request #12 from crespofer/updates
update course model to include created at
2 parents f0fe5c7 + 7319536 commit 604c496

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

prisma/schema.prisma

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,7 @@ model Note {
9090

9191
model Course {
9292
id String @id @default(cuid())
93+
createdAt DateTime @default(now())
9394
name String @unique // Calculus 2
9495
code String @unique // MAC2312
9596
url String?

0 commit comments

Comments
 (0)