@campus-labs/prisma-client 0.17.0 → 0.17.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/prisma/schema.prisma +14 -13
package/package.json
CHANGED
package/prisma/schema.prisma
CHANGED
|
@@ -663,19 +663,20 @@ model initiatives_tags {
|
|
|
663
663
|
}
|
|
664
664
|
|
|
665
665
|
model projects {
|
|
666
|
-
id
|
|
667
|
-
is_draft
|
|
668
|
-
is_pending
|
|
669
|
-
is_published
|
|
670
|
-
author_id
|
|
671
|
-
editor_id
|
|
672
|
-
created_at
|
|
673
|
-
updated_at
|
|
674
|
-
deleted_at
|
|
675
|
-
version
|
|
676
|
-
current_state
|
|
677
|
-
|
|
678
|
-
|
|
666
|
+
id Int @id @default(autoincrement())
|
|
667
|
+
is_draft Boolean @default(true)
|
|
668
|
+
is_pending Boolean @default(false)
|
|
669
|
+
is_published Boolean @default(false)
|
|
670
|
+
author_id String @db.VarChar(50)
|
|
671
|
+
editor_id String? @db.VarChar(50)
|
|
672
|
+
created_at DateTime @default(now()) @db.Timestamp(6)
|
|
673
|
+
updated_at DateTime @default(now()) @db.Timestamp(6)
|
|
674
|
+
deleted_at DateTime? @db.Timestamp(6)
|
|
675
|
+
version Int @default(1)
|
|
676
|
+
current_state Json
|
|
677
|
+
repository_ai_badges Json[]
|
|
678
|
+
initiatives initiatives[]
|
|
679
|
+
patches patches[]
|
|
679
680
|
|
|
680
681
|
authors users @relation("ProjectAuthor", fields: [author_id], references: [id], onDelete: Cascade, onUpdate: Cascade)
|
|
681
682
|
editors users? @relation("ProjectEditor", fields: [editor_id], references: [id], onDelete: SetNull, onUpdate: Cascade)
|