projects
/
dbsrgits/DBIx-Class-Schema-Loader.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(parent:
522ee84
)
Fix from Marc Espie for CREATE TABLE 'foo' for SQLite
Brandon Black [Tue, 15 May 2007 13:53:49 +0000 (13:53 +0000)]
lib/DBIx/Class/Schema/Loader/DBI/SQLite.pm
patch
|
blob
|
blame
|
history
diff --git
a/lib/DBIx/Class/Schema/Loader/DBI/SQLite.pm
b/lib/DBIx/Class/Schema/Loader/DBI/SQLite.pm
index
51530b4
..
1a7d437
100644
(file)
--- a/
lib/DBIx/Class/Schema/Loader/DBI/SQLite.pm
+++ b/
lib/DBIx/Class/Schema/Loader/DBI/SQLite.pm
@@
-42,7
+42,7
@@
sub _sqlite_parse_table {
$sth->finish;
# Cut "CREATE TABLE ( )" blabla...
- $sql =~ /^[\w\s]+\((.*)\)$/si;
+ $sql =~ /^[\w\s']+\((.*)\)$/si;
my $cols = $1;
# strip single-line comments