© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
Drizzle TeamDT
Drizzle Team•13mo ago
nikhil

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" }),
        }
      }
    },
  },
}));
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" }),
        }
      }
    },
  },
}));
Drizzle TeamJoin
The official Discord for all Drizzle related projects, such as Drizzle ORM, Drizzle Kit, Drizzle Studio and more!
11,879Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

Drizzle-Seed null values
Drizzle TeamDTDrizzle Team / help
12mo ago
How to use drizzle-seed to seed data?
Drizzle TeamDTDrizzle Team / help
15mo ago
Drizzle-seed and sequential dates
Drizzle TeamDTDrizzle Team / help
10mo ago
Sequence problem with drizzle-seed
Drizzle TeamDTDrizzle Team / help
14mo ago