mirror of
https://github.com/formbricks/formbricks.git
synced 2026-04-23 13:48:58 -05:00
feat: add survey schedule option (#2386)
Co-authored-by: Johannes <72809645+jobenjada@users.noreply.github.com> Co-authored-by: Johannes <johannes@formbricks.com> Co-authored-by: Piyush Gupta <piyushguptaa2z123@gmail.com>
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
-- AlterEnum
|
||||
ALTER TYPE "SurveyStatus" ADD VALUE 'scheduled';
|
||||
|
||||
-- AlterTable
|
||||
ALTER TABLE "Survey" ADD COLUMN "runOnDate" TIMESTAMP(3);
|
||||
@@ -178,6 +178,7 @@ model TagsOnResponses {
|
||||
|
||||
enum SurveyStatus {
|
||||
draft
|
||||
scheduled
|
||||
inProgress
|
||||
paused
|
||||
completed
|
||||
@@ -284,8 +285,9 @@ model Survey {
|
||||
attributeFilters SurveyAttributeFilter[]
|
||||
displays Display[]
|
||||
autoClose Int?
|
||||
delay Int @default(0)
|
||||
autoComplete Int?
|
||||
delay Int @default(0)
|
||||
runOnDate DateTime?
|
||||
closeOnDate DateTime?
|
||||
/// @zod.custom(imports.ZSurveyClosedMessage)
|
||||
/// [SurveyClosedMessage]
|
||||
|
||||
Reference in New Issue
Block a user