Update to match the schema changes.

This commit is contained in:
themodrnhakr 2025-09-29 21:13:26 -05:00
parent 2962c3aace
commit b2d7b4983a

View File

@ -41,7 +41,8 @@ async function seedDatabase(count: number) {
// a random phrase in each description // a random phrase in each description
description: faker.lorem.sentence(), description: faker.lorem.sentence(),
// open_date with a valid date // open_date with a valid date
openDate: faker.date.recent({ days: 30 }).toISOString(), openDate: faker.date.recent({ days: 30 }),
closeDate: faker.date.soon({ days: 30 }),
// a random paragraph in body // a random paragraph in body
body: faker.lorem.paragraphs(3), body: faker.lorem.paragraphs(3),
// other fields as needed // other fields as needed