DEV Community

Discussion on: Database seeding in Node.js

Collapse
 
ausmurp profile image
Austin Murphy

Also, how do you account for when another record needs added to this lookup table, another status. How can the seed script run and only insert the new values? This is built into some ORMs like Entity Framework, but it would be nice to see this in node as a lot of those ORMs do not have that capability.