improve Pg default handling
authorRafael Kitover <rkitover@cpan.org>
Tue, 6 Sep 2011 07:18:58 +0000 (03:18 -0400)
committerRafael Kitover <rkitover@cpan.org>
Tue, 6 Sep 2011 07:18:58 +0000 (03:18 -0400)
commit9633664658e5795fbf70d7e89456910a8481526f
tree5f23b0008d3ee65cd5e21d28f64fd8ec6e50f9e4
parent6d358d5830e93cbb969f4fec62d499d15f9a23e8
improve Pg default handling

Correctly handles these cases:
 - <type> DEFAULT NULL
 - boolean DEFAULT 0::boolean
lib/DBIx/Class/Schema/Loader/DBI/Component/QuotedDefault.pm
lib/DBIx/Class/Schema/Loader/DBI/Pg.pm
t/10_03pg_common.t