From 2f87bf2f38a9c8385f05afe7f41bb616de6804bd Mon Sep 17 00:00:00 2001 From: Daniel Roth Date: Tue, 28 Apr 2026 08:15:54 +0000 Subject: [PATCH] make previous migration files in line with db --- src/app/db/migrations/0187_mean_salo.sql | 2 +- src/app/db/migrations/meta/0187_snapshot.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/app/db/migrations/0187_mean_salo.sql b/src/app/db/migrations/0187_mean_salo.sql index c4e6a1f..2760ab4 100644 --- a/src/app/db/migrations/0187_mean_salo.sql +++ b/src/app/db/migrations/0187_mean_salo.sql @@ -1,2 +1,2 @@ -ALTER TABLE "epc_window" RENAME COLUMN "pvc_frame" TO "frame_material" DROP NOT NULL;--> statement-breakpoint +ALTER TABLE "epc_window" RENAME COLUMN "pvc_frame" TO "frame_material";--> statement-breakpoint ALTER TABLE "epc_window" ALTER COLUMN "transmission_data_source" SET DATA TYPE text; \ No newline at end of file diff --git a/src/app/db/migrations/meta/0187_snapshot.json b/src/app/db/migrations/meta/0187_snapshot.json index bed4c96..76fbc0a 100644 --- a/src/app/db/migrations/meta/0187_snapshot.json +++ b/src/app/db/migrations/meta/0187_snapshot.json @@ -4498,7 +4498,7 @@ "name": "frame_material", "type": "text", "primaryKey": false, - "notNull": false + "notNull": true }, "frame_factor": { "name": "frame_factor",