drizzle-seed

is it not possible to have column refinement within a join?
await seed(db, { ...schema, ...relations }).refine((f) => ({
  profile: {
    count: 8,
    columns: {
      fullName: f.fullName(),
    },
    with: {
      shiftPreference: {
        count: 9,
        columns: {
          date: f.date({ minDate: "2024-09-17", maxDate: "2024-10-07" }),
        }
      }
    },
  },
}));
Was this page helpful?