On Tue, Mar 17, 2009 at 8:42 PM, Dermot <[email protected]> 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/

_______________________________________________
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]

Reply via email to