dresende/node-orm — pull request #56 by sethbridges (2012-05-18 18:49:47+00:00)
Title: Defaulting null date to '0000-00-00' explodes Postgres

In this change, rather than defaulting null dates to '0000-00-00', I set them to null.

This avoids the DateTimeParse error that occurs when trying to set an allowed NULL into a timestamp field in postgres.