Add website static image slots with page grouping and bilingual captions.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
Alireza Hassani
2026-08-16 23:56:16 +03:30
co-authored by Cursor
parent b991a60cbc
commit 1c7678ce67
18 changed files with 1098 additions and 6 deletions
@@ -0,0 +1,14 @@
-- Bilingual titles + subtext on each static image item
ALTER TABLE website_image_slot_items
ADD COLUMN IF NOT EXISTS title_fa VARCHAR(255);
ALTER TABLE website_image_slot_items
ADD COLUMN IF NOT EXISTS title_en VARCHAR(255);
ALTER TABLE website_image_slot_items
ADD COLUMN IF NOT EXISTS subtext VARCHAR(500);
UPDATE website_image_slot_items
SET title_fa = title
WHERE title_fa IS NULL AND title IS NOT NULL;