use strict;
-use warnings;
+use warnings;
use Test::More;
use lib qw(t/lib);
'Correctly retrieve column info (no size or is_nullable)'
);
-TODO: {
- local $TODO = 'All current versions of SQLite seem to mis-report is_nullable';
-
+{
is_deeply (
get_storage_column_info ($schema->storage, 'artist', qw/size/),
{
'rank' => {
'data_type' => 'integer',
'is_nullable' => 0,
+ 'default_value' => '13',
+ },
+ 'charfield' => {
+ 'data_type' => 'char',
+ 'is_nullable' => 1,
},
},
'Correctly retrieve column info (mixed null and non-null columns)'