Skip to content

Commit

Permalink
🐛 Missing migration files
Browse files Browse the repository at this point in the history
  • Loading branch information
gmpetrov committed Nov 23, 2023
1 parent 83591c7 commit ec0155b
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 0 deletions.
12 changes: 12 additions & 0 deletions packages/prisma/migrations/20231120234731_/migration.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
-- AlterEnum
ALTER TYPE "ServiceProviderType" ADD VALUE 'zendesk';

-- AlterEnum
ALTER TYPE "ToolType" ADD VALUE 'http';

-- AlterTable
ALTER TABLE "tools" ADD COLUMN "config" JSONB,
ADD COLUMN "service_provider_id" TEXT;

-- AddForeignKey
ALTER TABLE "tools" ADD CONSTRAINT "tools_service_provider_id_fkey" FOREIGN KEY ("service_provider_id") REFERENCES "service_providers"("id") ON DELETE CASCADE ON UPDATE CASCADE;
2 changes: 2 additions & 0 deletions packages/prisma/migrations/20231123164729_/migration.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
-- AlterTable
ALTER TABLE "messages" ADD COLUMN "usage" JSONB;

0 comments on commit ec0155b

Please sign in to comment.