diff --git a/apps/portal/prisma/readSheet.ts b/apps/portal/prisma/readSheet.ts index 3852cd62..8622c33f 100644 --- a/apps/portal/prisma/readSheet.ts +++ b/apps/portal/prisma/readSheet.ts @@ -42,12 +42,6 @@ function xlSerialToJsDate(xlSerial) { return new Date(Date.UTC(0, 0, xlSerial - 1)); } -function generateSpecialization() { - const specializations = ['Frontend', 'Backend', 'Fullstack']; - - return specializations[Math.floor(Math.random() * 300) % 3]; -} - const getJobTitle = (role: string) => { const processedRole = role.toUpperCase().trim(); @@ -146,7 +140,6 @@ const seedSalaries = async () => { value: data.Income, }, }, - specialization: generateSpecialization(), // TODO: check about this startYear: xlSerialToJsDate( data.Timestamp, ).getFullYear(), @@ -219,7 +212,6 @@ const seedSalaries = async () => { }, }, level: data.Type, - specialization: generateSpecialization(), // TODO: check about this stocks: { create: { baseCurrency: baseCurrencyString,