feat: add photo support to food menu items

- Add photos and featured_photo columns to menu_items table
- Update MenuEditor with photo upload functionality
- Add click-to-set-featured-photo interaction
- Update menu API endpoints to handle photos
This commit is contained in:
2026-06-30 00:04:04 -05:00
parent f9c8d48631
commit b46d490be2
4 changed files with 60 additions and 12 deletions
+2
View File
@@ -100,6 +100,8 @@ export async function initSchema() {
is_daily_special BOOLEAN DEFAULT FALSE,
active BOOLEAN DEFAULT TRUE,
sort_order INTEGER DEFAULT 0,
photos TEXT[] DEFAULT '{}',
featured_photo VARCHAR(500),
created_at TIMESTAMP DEFAULT NOW()
);
`);