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:
@@ -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()
|
||||
);
|
||||
`);
|
||||
|
||||
Reference in New Issue
Block a user