X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=lib%2FDBIx%2FClass%2FSchema%2FLoader%2FDBI%2FSQLite.pm;h=cbe9ae01f66c071ab5f7d44a8e4b3a5e9cf96d0e;hb=dc767cd32c6728d4d9c3504acd259c0b2f19da2b;hp=1be1c9502faa491b75979a49d9993c1e805df97a;hpb=b327622ba07a243c4b5e10b0b7dbd17c20d75b34;p=dbsrgits%2FDBIx-Class-Schema-Loader.git diff --git a/lib/DBIx/Class/Schema/Loader/DBI/SQLite.pm b/lib/DBIx/Class/Schema/Loader/DBI/SQLite.pm index 1be1c95..cbe9ae0 100644 --- a/lib/DBIx/Class/Schema/Loader/DBI/SQLite.pm +++ b/lib/DBIx/Class/Schema/Loader/DBI/SQLite.pm @@ -2,12 +2,15 @@ package DBIx::Class::Schema::Loader::DBI::SQLite; use strict; use warnings; -use base qw/DBIx::Class::Schema::Loader::DBI/; +use base qw/ + DBIx::Class::Schema::Loader::DBI::Component::QuotedDefault + DBIx::Class::Schema::Loader::DBI +/; use Carp::Clan qw/^DBIx::Class/; use Text::Balanced qw( extract_bracketed ); use Class::C3; -our $VERSION = '0.04999_05'; +our $VERSION = '0.05001'; =head1 NAME @@ -148,6 +151,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} ||= @@ -199,6 +203,15 @@ sub _tables_list { L, L, L +=head1 AUTHOR + +See L and L. + +=head1 LICENSE + +This library is free software; you can redistribute it and/or modify it under +the same terms as Perl itself. + =cut 1;