Skip to content

Commit c7fcded

Browse files
authored
Merge branch 'EvolutionAPI:develop' into develop
2 parents 064af69 + d8268b0 commit c7fcded

2 files changed

Lines changed: 11 additions & 3 deletions

File tree

CHANGELOG.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,13 @@
11
# 2.3.5 (develop)
22

3+
### Fixed
4+
5+
* **Kafka Migration**: Fixed PostgreSQL migration error for Kafka integration
6+
- Corrected table reference from `"public"."Instance"` to `"Instance"` in foreign key constraint
7+
- Fixed `ERROR: relation "public.Instance" does not exist` issue in migration `20250918182355_add_kafka_integration`
8+
- Aligned table naming convention with other Evolution API migrations for consistency
9+
- Resolved database migration failure that prevented Kafka integration setup
10+
311
###
412

513
# 2.3.4 (2025-09-23)

prisma/postgresql-migrations/20250918182355_add_kafka_integration/migration.sql

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
-- CreateTable
2-
CREATE TABLE "public"."Kafka" (
2+
CREATE TABLE "Kafka" (
33
"id" TEXT NOT NULL,
44
"enabled" BOOLEAN NOT NULL DEFAULT false,
55
"events" JSONB NOT NULL,
@@ -11,7 +11,7 @@ CREATE TABLE "public"."Kafka" (
1111
);
1212

1313
-- CreateIndex
14-
CREATE UNIQUE INDEX "Kafka_instanceId_key" ON "public"."Kafka"("instanceId");
14+
CREATE UNIQUE INDEX "Kafka_instanceId_key" ON "Kafka"("instanceId");
1515

1616
-- AddForeignKey
17-
ALTER TABLE "public"."Kafka" ADD CONSTRAINT "Kafka_instanceId_fkey" FOREIGN KEY ("instanceId") REFERENCES "public"."Instance"("id") ON DELETE CASCADE ON UPDATE CASCADE;
17+
ALTER TABLE "Kafka" ADD CONSTRAINT "Kafka_instanceId_fkey" FOREIGN KEY ("instanceId") REFERENCES "Instance"("id") ON DELETE CASCADE ON UPDATE CASCADE;

0 commit comments

Comments
 (0)