Fix demo workspace seed
This commit is contained in:
@ -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()
|
||||||
|
|||||||
Reference in New Issue
Block a user