[CRITICAL] Layouts schema mismatch #44

Closed
opened 2026-01-29 18:51:56 +00:00 by jason.woltje · 0 comments
Owner

DTOs have metadata field but Prisma UserLayout model doesn't have it.

Either:

  1. Add metadata field to Prisma UserLayout model in schema.prisma
  2. Remove metadata field from DTOs (CreateUserLayoutDto, UpdateUserLayoutDto, UserLayoutDto)

Files affected:

  • src/layouts/dto/*.dto.ts
  • prisma/schema.prisma
DTOs have `metadata` field but Prisma UserLayout model doesn't have it. Either: 1. Add metadata field to Prisma UserLayout model in schema.prisma 2. Remove metadata field from DTOs (CreateUserLayoutDto, UpdateUserLayoutDto, UserLayoutDto) Files affected: - src/layouts/dto/*.dto.ts - prisma/schema.prisma
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: mosaic/stack#44