[Dbix-class] is_nullable
Zbigniew Lukasiak
zzbbyy at gmail.com
Wed Mar 18 10:36:27 GMT 2009
On Tue, Mar 17, 2009 at 8:42 PM, Dermot <paikkos at googlemail.com> 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'.
>
> I only ask because I used deploy for testing today and it created the
> schema as per the Sources and that took some fiddling to correct.
>
> I am use SQLite 3.5.1
I think this is result of DBD::SQLite not implementing 'column_info'.
The loader inferes the metadata from a select query - and this does
not return all the needed data.
--
Zbigniew Lukasiak
http://brudnopis.blogspot.com/
http://perlalchemy.blogspot.com/
More information about the DBIx-Class
mailing list