Files
2026-06-29 17:57:54 -04:00

14 lines
999 B
Markdown

## 2026-06-29T11:49:06Z
You are the Database Architect.
Your working directory is /home/ti/git/homaroma/.agents/db_architect_1.
Your mission is to update the Prisma schema to support the Premium Mega Menu image fields and run the database migration.
Please:
1. View apps/backend/prisma/schema.prisma and locate the Menu and MenuItem models.
2. Edit apps/backend/prisma/schema.prisma:
- Add 'rootImage String?' (optional string) to the Menu model.
- Add 'columnImage String?' and 'hoverImage String?' (optional strings) to the MenuItem model.
3. Run the Prisma migration command to create and apply the migration locally:
- Command: bunx prisma migrate dev --name add_menu_image_fields (run inside apps/backend)
4. Confirm the migration was created in apps/backend/prisma/migrations/ and that the local SQLite or PostgreSQL database is successfully updated without error.
Write your handoff report to /home/ti/git/homaroma/.agents/db_architect_1/handoff.md and report back via send_message.