Skip to content

Commit

Permalink
create house connections after user creations
Browse files Browse the repository at this point in the history
  • Loading branch information
Jessica Ho authored and Jessica Ho committed Feb 25, 2024
1 parent f4dd39d commit 9db9500
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion prisma/seed.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,10 @@ async function main() {
...[3, 4].map((userInd) => utils.createUserWithEmptyHousehold(userInd)),
...[2, 4, 6].map((userInd) => utils.createActiveSession(userInd)),
utils.createUserWithEmptyHousehold(5),
utils.createUserWithKid(6),
utils.createUserWithKid(6)
]);

await Promise.all([
utils.createFriendRequest(4, 3),
utils.createHouseholdConnection(3, 5),
utils.createHouseholdInvite(5, 2)
Expand Down

0 comments on commit 9db9500

Please sign in to comment.