@varaos/db 1.4.2 → 1.4.3
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
CHANGED
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
-- AddFields to Onboarding table
|
|
2
|
+
ALTER TABLE "Onboarding" ADD COLUMN "quizAnswers" JSONB DEFAULT '{}',
|
|
3
|
+
ADD COLUMN "selectedAutomations" TEXT[] DEFAULT ARRAY[]::TEXT[],
|
|
4
|
+
ADD COLUMN "workspaceName" TEXT,
|
|
5
|
+
ADD COLUMN "workspaceNameValid" BOOLEAN NOT NULL DEFAULT false,
|
|
6
|
+
ADD COLUMN "workspaceNameError" TEXT;
|
package/prisma/schema.prisma
CHANGED
|
@@ -1572,12 +1572,17 @@ model Job {
|
|
|
1572
1572
|
}
|
|
1573
1573
|
|
|
1574
1574
|
model Onboarding {
|
|
1575
|
-
id
|
|
1576
|
-
userId
|
|
1577
|
-
persona
|
|
1578
|
-
setupType
|
|
1579
|
-
|
|
1580
|
-
|
|
1575
|
+
id String @id @default(uuid())
|
|
1576
|
+
userId String @unique
|
|
1577
|
+
persona String?
|
|
1578
|
+
setupType String?
|
|
1579
|
+
quizAnswers Json? @default("{}")
|
|
1580
|
+
selectedAutomations String[] @default([])
|
|
1581
|
+
workspaceName String?
|
|
1582
|
+
workspaceNameValid Boolean @default(false)
|
|
1583
|
+
workspaceNameError String?
|
|
1584
|
+
progress Json?
|
|
1585
|
+
completed Boolean @default(false)
|
|
1581
1586
|
|
|
1582
1587
|
createdAt DateTime @default(now())
|
|
1583
1588
|
updatedAt DateTime @updatedAt
|