2009/3/18 Ronald J Kimball <[email protected]>:
> Dermot wrote:
>>
>> Hi,
>>
>> I notice that when I use DBIx::Class::Schema::Loader it always creates
>> the columns as is_nullable => 0.
>>
>> Is this by design or is there an option I can pass it so that my
>> ResultSources will maintain their 'NOT NULL'.
>
> is_nullable => 0 and NOT NULL mean the same thing, don't they?
>
I think it's one of them there double negatives :)
is_nullable
Set this to a true value for a columns that is allowed to contain
NULL values. This is currently only used by "deploy" in
DBIx::Class::Schema.
Dp.
_______________________________________________
List: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/dbix-class
IRC: irc.perl.org#dbix-class
SVN: http://dev.catalyst.perl.org/repos/bast/DBIx-Class/
Searchable Archive: http://www.grokbase.com/group/[email protected]