Skip to content

Commit 6859057

Browse files
authored
Merge pull request #284 from n4ze3m/next
fix
2 parents b4e8866 + 3b6c4f4 commit 6859057

File tree

4 files changed

+13
-5
lines changed

4 files changed

+13
-5
lines changed

app/ui/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "app",
33
"private": true,
4-
"version": "1.9.1",
4+
"version": "1.9.2",
55
"type": "module",
66
"scripts": {
77
"dev": "vite",

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "dialoqbase",
3-
"version": "1.9.1",
3+
"version": "1.9.2",
44
"description": "Create chatbots with ease",
55
"scripts": {
66
"ui:dev": "pnpm run --filter ui dev",

server/prisma/migrations/20240725173556_auto_reset/migration.sql

Lines changed: 0 additions & 3 deletions
This file was deleted.
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
-- AlterTable
2+
DO $$
3+
BEGIN
4+
IF NOT EXISTS (SELECT 1 FROM information_schema.columns WHERE table_name = 'Bot' AND column_name = 'autoResetSession') THEN
5+
ALTER TABLE "Bot" ADD COLUMN "autoResetSession" BOOLEAN NOT NULL DEFAULT false;
6+
END IF;
7+
8+
IF NOT EXISTS (SELECT 1 FROM information_schema.columns WHERE table_name = 'Bot' AND column_name = 'inactivityTimeout') THEN
9+
ALTER TABLE "Bot" ADD COLUMN "inactivityTimeout" INTEGER DEFAULT 3600;
10+
END IF;
11+
END $$;

0 commit comments

Comments
 (0)