From 39c0ac64fc59fe43419e61586dfebe3ff46438ea Mon Sep 17 00:00:00 2001 From: mARTin Date: Thu, 19 Mar 2026 09:30:03 +0100 Subject: [PATCH] fix: add missing migration for weatherRecentCities column The weatherRecentCities field was added to the Prisma schema but no migration was created, causing PrismaClientValidationError on the server. v1.51.3 Co-Authored-By: Claude Opus 4.6 --- package.json | 2 +- .../migrations/20260319_add_weather_recent_cities/migration.sql | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) create mode 100644 prisma/migrations/20260319_add_weather_recent_cities/migration.sql diff --git a/package.json b/package.json index c40c3ce..0ae9f4c 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "my-weekly-todo-list", - "version": "1.51.2", + "version": "1.51.3", "description": "A web-based weekly task management application that organizes to-dos and calendar events in a single, intuitive weekly view", "main": "index.js", "scripts": { diff --git a/prisma/migrations/20260319_add_weather_recent_cities/migration.sql b/prisma/migrations/20260319_add_weather_recent_cities/migration.sql new file mode 100644 index 0000000..a6bbb38 --- /dev/null +++ b/prisma/migrations/20260319_add_weather_recent_cities/migration.sql @@ -0,0 +1,2 @@ +-- AlterTable +ALTER TABLE "User" ADD COLUMN IF NOT EXISTS "weatherRecentCities" JSONB;