projects
/
dbsrgits/DBIx-Class-Schema-Loader.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
fix for ^sqlite_ tables from chromatic
[dbsrgits/DBIx-Class-Schema-Loader.git]
/
lib
/
DBIx
/
Class
/
Schema
/
Loader
/
DBI
/
SQLite.pm
diff --git
a/lib/DBIx/Class/Schema/Loader/DBI/SQLite.pm
b/lib/DBIx/Class/Schema/Loader/DBI/SQLite.pm
index
10af19b
..
51530b4
100644
(file)
--- a/
lib/DBIx/Class/Schema/Loader/DBI/SQLite.pm
+++ b/
lib/DBIx/Class/Schema/Loader/DBI/SQLite.pm
@@
-147,6
+147,7
@@
sub _tables_list {
my @tables;
while ( my $row = $sth->fetchrow_hashref ) {
next unless lc( $row->{type} ) eq 'table';
+ next if $row->{tbl_name} =~ /^sqlite_/;
push @tables, $row->{tbl_name};
}
return @tables;