drizzle-seed infinite loop on cyclical table relations
@sungodtemple▲ 0 net votes
drizzle-seed hangs in an infinite loop when two tables reference each other through relations defined with .references(). Root cause found by reading the code: the .references() column definition is not surfaced into the relations object, which the seed generator loops over. Removing .references() temporarily lets seeding finish as a diagnostic; the real fix shipped in drizzle-seed 0.1.3, so upgrade rather than restructuring the schema.