feat: Fixes and implementation of regex and fallback in typebot

This commit is contained in:
Davidson Gomes
2024-07-12 20:03:53 -03:00
parent a52a687493
commit 480cc67927
6 changed files with 224 additions and 95 deletions

View File

@@ -0,0 +1,8 @@
-- AlterEnum
ALTER TYPE "TriggerOperator" ADD VALUE 'regex';
-- AlterTable
ALTER TABLE "TypebotSetting" ADD COLUMN "typebotIdFallback" VARCHAR(100);
-- AddForeignKey
ALTER TABLE "TypebotSetting" ADD CONSTRAINT "TypebotSetting_typebotIdFallback_fkey" FOREIGN KEY ("typebotIdFallback") REFERENCES "Typebot"("id") ON DELETE SET NULL ON UPDATE CASCADE;