balderdashy/waterline — pull request #323 by jasonsims (2014-03-17 20:51:27+00:00)
Title: Fix empty collection issue during schema sync

With some adapters, things will break if you try to run `.createEach()` with an empty list. Specifically, mongodb doesn't like this. If your local dev db has the collections created from a previous sync run but no data was added, it will bomb out with `MongoError: Message contains no documents`.