Skip to content

Commit

Permalink
Update booking request seeding to include bookables
Browse files Browse the repository at this point in the history
  • Loading branch information
danieladugyan committed Aug 21, 2024
1 parent 952fb11 commit 366149e
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/database/seed/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,11 @@ const main = async () => {
await seed.doorAccessPolicy((x) => x(50));

await seed.bookable(BOOKABLES);
await seed.bookingRequest((x) => x(25));
await seed.bookingRequest((x) =>
x(25, {
_booking_requests_bookables: (x) => x({ min: 1, max: 5 }),
}),
);

await seed.committee(
COMMITTEES.map((committee) => ({
Expand Down

0 comments on commit 366149e

Please sign in to comment.