$dbh->quote some things
[dbsrgits/DBIx-Class-Schema-Loader.git] / lib / DBIx / Class / Schema / Loader / DBI / SQLite.pm
index 1be1c95..285d027 100644 (file)
@@ -7,7 +7,7 @@ use Carp::Clan qw/^DBIx::Class/;
 use Text::Balanced qw( extract_bracketed );
 use Class::C3;
 
-our $VERSION = '0.04999_05';
+our $VERSION = '0.04999_10';
 
 =head1 NAME
 
@@ -148,6 +148,7 @@ sub _sqlite_parse_table {
 
 sub _extra_column_info {
     my ($self, $table, $col_name, $sth, $col_num) = @_;
+    ($table, $col_name) = @{$table}{qw/TABLE_NAME COLUMN_NAME/} if ref $table;
     my %extra_info;
 
     $self->{_sqlite_parse_data}->{$table} ||=