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,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);
|
||||
Reference in New Issue
Block a user