Fix demo workspace seed

This commit is contained in:
Charles Bochet
2024-01-18 10:59:48 +01:00
parent 2628ee0f27
commit aa8d689e3e

View File

@ -34,7 +34,6 @@ const generateOpportunities = (
probability: getRandomProbability(), probability: getRandomProbability(),
pipelineStepId: getRandomPipelineStepId(pipelineStepIds), pipelineStepId: getRandomPipelineStepId(pipelineStepIds),
pointOfContactId: company.personId, pointOfContactId: company.personId,
personId: company.personId,
companyId: company.id, companyId: company.id,
})); }));
}; };
@ -69,7 +68,6 @@ export const seedDemoOpportunity = async (
'probability', 'probability',
'pipelineStepId', 'pipelineStepId',
'pointOfContactId', 'pointOfContactId',
'personId',
'companyId', 'companyId',
]) ])
.orIgnore() .orIgnore()