dresende/node-orm — pull request #37 by shine-on (2012-02-12 18:30:38+00:00)
Title: Related to https://github.com/dresende/node-orm/issues/36

Allows to

CREATE TABLE "product" ("id" SERIAL, "name" VARCHAR(255) NOT NULL, "description" VARCHAR(255) DEFAULT '', "datecreated" TIMESTAMP NOT NULL, PRIMARY KEY ("id"))

INSERT INTO "product11" ("name", "datecreated") VALUES ($1, $2) [ 'Birds', '2012-02-12T18:10:46.133Z' ]

without error about constraint violation. Fields without DEFAULT must be populated by user.