From c0945e72646a23f9fda048f16cede036daaabb97 Mon Sep 17 00:00:00 2001 From: HotelSync Date: Mon, 23 Mar 2026 12:53:44 +0300 Subject: [PATCH] fix: add photos column to room_categories via migration 019 Co-Authored-By: Claude Sonnet 4.6 --- backend/migrations/019_categories_photos.sql | 2 ++ 1 file changed, 2 insertions(+) create mode 100644 backend/migrations/019_categories_photos.sql diff --git a/backend/migrations/019_categories_photos.sql b/backend/migrations/019_categories_photos.sql new file mode 100644 index 0000000..8cf1bec --- /dev/null +++ b/backend/migrations/019_categories_photos.sql @@ -0,0 +1,2 @@ +-- Add photos column to room_categories if it doesn't exist +ALTER TABLE room_categories ADD COLUMN IF NOT EXISTS photos TEXT[] NOT NULL DEFAULT '{}';