projects
/
dbsrgits/DBIx-Class.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
Oops, deploy only drops tables if you tell it to..
[dbsrgits/DBIx-Class.git]
/
lib
/
DBIx
/
Class
/
Schema.pm
diff --git
a/lib/DBIx/Class/Schema.pm
b/lib/DBIx/Class/Schema.pm
index
84e5263
..
a50b26b
100644
(file)
--- a/
lib/DBIx/Class/Schema.pm
+++ b/
lib/DBIx/Class/Schema.pm
@@
-543,9
+543,9
@@
Attempts to deploy the schema to the current storage
=cut
sub deploy {
- my ($self) = shift;
+ my ($self, $sqltargs) = @_;
$self->throw_exception("Can't deploy without storage") unless $self->storage;
- $self->storage->deploy($self);
+ $self->storage->deploy($self, undef, $sqltargs);
}
1;