diff --git a/backend/src/db/seed.js b/backend/src/db/seed.js index 47633b507..ca33a50ee 100644 --- a/backend/src/db/seed.js +++ b/backend/src/db/seed.js @@ -928,7 +928,15 @@ const languages = ['de', 'en', 'es', 'fr', 'it', 'pt', 'pl'] trollingComment.update({ disabled: true, updatedAt: new Date().toISOString(), closed: true }), ]) - await Promise.all([...Array(30).keys()].map(() => Factory.build('user'))) + const additionalUsers = await Promise.all( + [...Array(30).keys()].map(() => Factory.build('user')), + ) + await Promise.all( + additionalUsers.map(async user => { + await jennyRostock.relateTo(user, 'following') + await user.relateTo(jennyRostock, 'following') + }), + ) await Promise.all( [...Array(30).keys()].map(() =>