Add website static image slots with page grouping and bilingual captions.
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
co-authored by
Cursor
parent
b991a60cbc
commit
1c7678ce67
@@ -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;
|
||||
Reference in New Issue
Block a user