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,7 @@
-- Group static image slots by website page (home, products, about, …)
ALTER TABLE website_image_slots
ADD COLUMN IF NOT EXISTS page_key VARCHAR(100) NOT NULL DEFAULT 'home';
CREATE INDEX IF NOT EXISTS idx_website_image_slots_business_id_page_key
ON website_image_slots (business_id, page_key);