Add Onboarding Survey after User-Signup (#193)

* add onboarding survey after user signup

* add user flag finishedOnboarding to database and session

* fix submission capture endpoint to allow customer property update

---------

Co-authored-by: Johannes <72809645+jobenjada@users.noreply.github.com>
Co-authored-by: knugget <johannes@knugget.de>
This commit is contained in:
Matti Nannt
2023-02-08 11:12:12 +01:00
committed by GitHub
parent 1fec6e34a9
commit 6bfc46042b
21 changed files with 685 additions and 70 deletions
@@ -0,0 +1,2 @@
-- AlterTable
ALTER TABLE "User" ADD COLUMN "finishedOnboarding" BOOLEAN NOT NULL DEFAULT false;
+1
View File
@@ -164,4 +164,5 @@ model User {
organisations Membership[]
accounts Account[]
apiKeys ApiKey[]
finishedOnboarding Boolean @default(false)
}