projects
/
DBIx-DBSchema.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
812dcde
)
consolidate multiple ALTER TABLE statements for efficiency
author
Ivan Kohler
<ivan@freeside.biz>
Sat, 26 Oct 2013 20:45:10 +0000
(13:45 -0700)
committer
Ivan Kohler
<ivan@freeside.biz>
Sat, 26 Oct 2013 20:45:10 +0000
(13:45 -0700)
DBSchema/Table.pm
patch
|
blob
|
history
diff --git
a/DBSchema/Table.pm
b/DBSchema/Table.pm
index
01382ef
..
d32ae99
100644
(file)
--- a/
DBSchema/Table.pm
+++ b/
DBSchema/Table.pm
@@
-725,7
+725,7
@@
sub sql_alter_table {
}
- unshift @r, "ALTER TABLE $table "
,
join(', ', @at) if @at;
+ unshift @r, "ALTER TABLE $table "
.
join(', ', @at) if @at;
###
# return the statements