projects
/
dbsrgits/DBIx-Class-Schema-Loader.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(parent:
9b046d9
)
Fix for SQLite PKs
Brandon Black [Mon, 23 Jan 2006 06:26:26 +0000 (06:26 +0000)]
lib/DBIx/Class/Schema/Loader/SQLite.pm
patch
|
blob
|
blame
|
history
diff --git
a/lib/DBIx/Class/Schema/Loader/SQLite.pm
b/lib/DBIx/Class/Schema/Loader/SQLite.pm
index
d8f8cca
..
1a860ac
100644
(file)
--- a/
lib/DBIx/Class/Schema/Loader/SQLite.pm
+++ b/
lib/DBIx/Class/Schema/Loader/SQLite.pm
@@
-133,7
+133,7
@@
SQL
@pks = ($primary);
}
else {
- my ($pks) = $sql =~ m/PRIMARY\s+KEY\s*\(\s*([^)]+)\s*\)/;
+ my ($pks) = $sql =~ m/PRIMARY\s+KEY\s*\(\s*([^)]+)\s*\)/i;
@pks = split( m/\s*\,\s*/, $pks ) if $pks;
}
return ( \@columns, \@pks );