Skip to content

Commit

Permalink
Merge pull request #284 from n4ze3m/next
Browse files Browse the repository at this point in the history
fix
  • Loading branch information
n4ze3m authored Jul 27, 2024
2 parents b4e8866 + 3b6c4f4 commit 6859057
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 5 deletions.
2 changes: 1 addition & 1 deletion app/ui/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "app",
"private": true,
"version": "1.9.1",
"version": "1.9.2",
"type": "module",
"scripts": {
"dev": "vite",
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "dialoqbase",
"version": "1.9.1",
"version": "1.9.2",
"description": "Create chatbots with ease",
"scripts": {
"ui:dev": "pnpm run --filter ui dev",
Expand Down

This file was deleted.

11 changes: 11 additions & 0 deletions server/prisma/migrations/q_29/migration.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
-- AlterTable
DO $$
BEGIN
IF NOT EXISTS (SELECT 1 FROM information_schema.columns WHERE table_name = 'Bot' AND column_name = 'autoResetSession') THEN
ALTER TABLE "Bot" ADD COLUMN "autoResetSession" BOOLEAN NOT NULL DEFAULT false;
END IF;

IF NOT EXISTS (SELECT 1 FROM information_schema.columns WHERE table_name = 'Bot' AND column_name = 'inactivityTimeout') THEN
ALTER TABLE "Bot" ADD COLUMN "inactivityTimeout" INTEGER DEFAULT 3600;
END IF;
END $$;

0 comments on commit 6859057

Please sign in to comment.