Closed funkytek closed 9 years ago
@funkytek why don't you do just:
var users = [];
yield User.create(users);
process.exit(0);
although it doesn't matter in this case, since we have docs that depend on previous docs, if we wanted to do more complex things referencing them we would need something like this. Updating to a batch create.
@funkytek thanks to participating in this! :ship:
:ok_hand:
added a script to create seed data in db so example runs properly out of the box