diff --git a/apps/portal/prisma/schema.prisma b/apps/portal/prisma/schema.prisma index ca3806c1..cbf65808 100644 --- a/apps/portal/prisma/schema.prisma +++ b/apps/portal/prisma/schema.prisma @@ -235,7 +235,7 @@ model OffersProfile { model OffersBackground { id String @id @default(cuid()) - totalYoe Int @default(0) + totalYoe Int specificYoes OffersSpecificYoe[] experiences OffersExperience[] diff --git a/apps/portal/src/mappers/offers-mappers.ts b/apps/portal/src/mappers/offers-mappers.ts index 1d1d2f76..2e4c7ddc 100644 --- a/apps/portal/src/mappers/offers-mappers.ts +++ b/apps/portal/src/mappers/offers-mappers.ts @@ -934,4 +934,4 @@ const userProfileOfferDtoMapper = ( } return mappedOffer; -}; +}; \ No newline at end of file diff --git a/apps/portal/src/server/router/offers/offers-profile-router.ts b/apps/portal/src/server/router/offers/offers-profile-router.ts index cd7cc386..3a6a6636 100644 --- a/apps/portal/src/server/router/offers/offers-profile-router.ts +++ b/apps/portal/src/server/router/offers/offers-profile-router.ts @@ -2218,4 +2218,4 @@ export const offersProfileRouter = createRouter() message: 'Invalid token.', }); }, - }); + }); \ No newline at end of file diff --git a/apps/portal/src/types/offers.d.ts b/apps/portal/src/types/offers.d.ts index 534c8d5f..f00ad19e 100644 --- a/apps/portal/src/types/offers.d.ts +++ b/apps/portal/src/types/offers.d.ts @@ -225,4 +225,4 @@ export type Location = { countryName: string; stateId: string; stateName: string; -}; +}; \ No newline at end of file