feat: CustomEventType placeholder and API fixes (#446)

* feat: add optional placeholder for text/multi-line text custom inputs on event types

* fix: delete associations of event type first

* fix: remove unneeded check

* fix: minor tweak

Co-authored-by: mihaic195 <[email protected]>
Co-authored-by: Bailey Pumfleet <[email protected]>
This commit is contained in:
authored and GitHub committed 2021-08-22 14:06:26 +01:00
1 parent 44e0af9641
commit 3894ee12d1
5 files changed
+40 -2

No files matched your search

@@ -0,0 +1,2 @@
-- AlterTable
ALTER TABLE "EventTypeCustomInput" ADD COLUMN "placeholder" TEXT NOT NULL DEFAULT E'';
+1
View File
@@ -177,6 +177,7 @@ model EventTypeCustomInput {
label String
type EventTypeCustomInputType
required Boolean
placeholder String @default("")
}
model ResetPasswordRequest {